feat(c/v3-engine): prefix $
for "values" instead of the suffix FromEnv
for "keys"
#10593
Labels
k/enhancement
New feature or improve an existing feature
Component
c/v3-engine
Is your proposal related to a problem?
The suffix
~FromEnv
is used as a convention for environment variables.For instance, in the example below,
value
should be refactored tovalueFromEnv
to use an env var.But sometimes, there's no
~FromEnv
field.For example, the snippet below does not work, as there is no field like
jwkFromEnv
.In such cases, users should report and request a new feature, like #10592.
This is a bottleneck between core developers and consumers.
Describe the solution you'd like
What if we introduce a prefix like
$
for values, instead of the suffixFromEnv
for keys?For example, the field
jwk
is still used, but the value is changed to$JWK_URL_AS_ENV_VAR
.This indicates it should be interpreted as an env var.
Of course,
jwk
is just an example. We can apply the new convention everywhere.The text was updated successfully, but these errors were encountered: