You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a YAML with a multi-level hierarchy. I'm interested in using aliases and I wanted to create an alias for a key that is called auth.validation.host. I want this alias to be called blah (for the sake of this example).
v.RegisterAlias("blah", "auth.validataion.host")
Unfortunately, I never get a value for the blah key. I do get a value back for the other key.
I've tried registering before and after I read the config file, but I get the same result. I need help understanding what I'm doing wrong.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a YAML with a multi-level hierarchy. I'm interested in using aliases and I wanted to create an alias for a key that is called
auth.validation.host
. I want this alias to be calledblah
(for the sake of this example).v.RegisterAlias("blah", "auth.validataion.host")
Unfortunately, I never get a value for the
blah
key. I do get a value back for the other key.I've tried registering before and after I read the config file, but I get the same result. I need help understanding what I'm doing wrong.
Beta Was this translation helpful? Give feedback.
All reactions