For an .env file
AIO_RUNTIME_AUTH=foo
AIO__RUNTIME_AUTH=bar
Both keys are effectively the same key runtime.auth
This will not be apparent to the user, and may just be a documentation issue.
AIO_RUNTIME_AUTH is processed as runtime.auth
AIO__RUNTIME_AUTH is processed as .runtime.auth (note the leading period). The leading period is split out when calling setValue.
Fix:
Document that any .env vars that are prefixed by AIO_ or AIO__ are equivalent (one or two underscores). Anything more than two will be reflected as an underscore itself.
For an .env file
Both keys are effectively the same key
runtime.authThis will not be apparent to the user, and may just be a documentation issue.
AIO_RUNTIME_AUTHis processed asruntime.authAIO__RUNTIME_AUTHis processed as.runtime.auth(note the leading period). The leading period is split out when callingsetValue.Fix:
Document that any .env vars that are prefixed by
AIO_orAIO__are equivalent (one or two underscores). Anything more than two will be reflected as an underscore itself.