Replies: 3 comments
-
Hey! Right now the quickest way to achieve this is to use Another option would be to add a custom loader. I think, adding an option to load data from a single YAML file makes sense. Let me think about the possible interface/convention. |
Beta Was this translation helpful? Give feedback.
-
Yes we are using secrets as well and that's probably what led to the desire. But secrets kinda come with their own headache so limiting that to API keys vs app configuration easier read in the clear. Honestly after a couple days having a 1:1 corresponding It feels something like |
Beta Was this translation helpful? Give feedback.
-
I like the nesting idea (it popped up a couple of times but I wasn't able to focus on it to come up with a good interface). |
Beta Was this translation helpful? Give feedback.
-
Hello. I am in the process of converting my project to use anyway config and really liking the gem so far. I have one question which may be possible with the gem as-is, but can't seem to get it to work.
Essentially, I'd like to avoid having one yml file per class so all actual settings are in one place. So given the following,
I'd like to have a single
app.yml
that looks like thisRather than individual
domain.yml
andredis.yml
files. I've been playing around withconfig_name
and some other paths but stumped so figured I'd ask before going too far down a rabbit hole or giving up.Thanks!
Beta Was this translation helpful? Give feedback.
All reactions