open-feature / js-sdk-contrib

OpenFeature Providers and Hooks for JavaScript
https://openfeature.dev
Apache License 2.0
33 stars 33 forks source link

bug: runsOn not set for envvar provider. #980

Closed justinabrahms closed 1 month ago

justinabrahms commented 1 month ago

Observed behavior

Just working through getting the example code for the envvar provider hooked into my app, but got this debug warning:

{
  "level": "debug",
  "message": "Provider 'environment variable' has not defined its intended use.",
  "timestamp": "2024-07-02 09:56:33:5633"
}

Expected Behavior

Not see the log message.

Steps to reproduce

just start a envvar provider w/ a logger and it should print when you use it.