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
Currently, if an environment variable is not found when loading a flowkit configuration, it will cause the config validation to fail. This is problemmatic behaviour for the Cadence Language Server, because it will not have these environment variables, so loading the config fails and it effectively makes it impossible to use the LS with environment variable keys.
Expected Behavior
Don't validate environment variables, maybe this could happen when the key is actually attempted to be used instead.
Steps To Reproduce
Try to use the Cadence Language Server with env var keys, VSCode will show an error.
Environment
n/a
What are you currently working on that this is blocking?
No response
The text was updated successfully, but these errors were encountered:
Can we hide this behind a flag please. I would very much like it to continue to work as it is for my code. Failing at instantiation time is important to me.
Current Behavior
Currently, if an environment variable is not found when loading a flowkit configuration, it will cause the config validation to fail. This is problemmatic behaviour for the Cadence Language Server, because it will not have these environment variables, so loading the config fails and it effectively makes it impossible to use the LS with environment variable keys.
Expected Behavior
Don't validate environment variables, maybe this could happen when the key is actually attempted to be used instead.
Steps To Reproduce
Try to use the Cadence Language Server with env var keys, VSCode will show an error.
Environment
What are you currently working on that this is blocking?
No response
The text was updated successfully, but these errors were encountered: