We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
undefined
node-newrelic/lib/config/index.js
Lines 1045 to 1047 in 4bde427
That block prohibits a default config like:
some_block: { nested_item: { default: undefined, env: 'ENV_VAR_NAME' } }
The following will fail due to the linked code:
test(() => { const config = Config.initialize({ some_block: { nested_item: 'find-me' } }) assert.deepStrictEqual(config.some_block, { nested_item: 'find-me' }) })
The text was updated successfully, but these errors were encountered:
https://new-relic.atlassian.net/browse/NR-357938
Sorry, something went wrong.
Looking at lib/config/default.js we set defaults to null for these cases
lib/config/default.js
No branches or pull requests
node-newrelic/lib/config/index.js
Lines 1045 to 1047 in 4bde427
That block prohibits a default config like:
The following will fail due to the linked code:
The text was updated successfully, but these errors were encountered: