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
Summary:
Environmental Variables are not being set by the Config object as a Boolean type, and instead, are set a string value.
Severity:
Low
Priority:
Low
Expected Behavior
Declare an Environmental Variable for any Boolean Configuration (e.g. export CLEDG_SIDECAR_DISABLED=true) should be represented as a Boolean type.
Fixes have been applied and merged to account-lookup-service, ml-api-adapter, bulk-api-adapter, central-settlement, transaction-requests-service and quoting-service.
Summary:
Environmental Variables are not being set by the Config object as a Boolean type, and instead, are set a string value.
Severity:
Low
Priority:
Low
Expected Behavior
Declare an Environmental Variable for any Boolean Configuration (e.g.
export CLEDG_SIDECAR_DISABLED=true
) should be represented as a Boolean type.Fix:
require('parse-strings-in-object')
<-- ref: https://www.npmjs.com/package/parse-strings-in-object#example-in-rc-configExample implemented in the Event SDK:
const RC = require('parse-strings-in-object')(require('rc')('EVENT_SDK', require('../../config/default.json')))
Steps to Reproduce
export CLEDG_SIDECAR_DISABLED=true
)Specifications
Pull Requests:
Notes:
The text was updated successfully, but these errors were encountered: