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
(@Env, @ValueFrom, @EnvValueGetter and ValueGetter interface would all be provided by this library, and devs can implement their own value getter, like SecretFromFileCustomGetter).
The purpose for this is for people to be able to read config values from different sources than environment variables or .env file.
They should then be able to write their own shorthand for simplicity and this should be documented, like:
Something like this:
where
SecretFromFileCustomGetter
,EnvValueGetter
would be classes implementing interface like this:and this:
would then simply be a shorthand for this:
(
@Env
,@ValueFrom
,@EnvValueGetter
andValueGetter
interface would all be provided by this library, and devs can implement their own value getter, likeSecretFromFileCustomGetter
).The purpose for this is for people to be able to read config values from different sources than environment variables or .env file.
They should then be able to write their own shorthand for simplicity and this should be documented, like:
The text was updated successfully, but these errors were encountered: