Skip to content
New issue

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

[BUG] Environment variables are validated when loading configuration #50

Open
jribbink opened this issue May 17, 2024 · 1 comment
Open

Comments

@jribbink
Copy link
Contributor

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

n/a

What are you currently working on that this is blocking?

No response

@bjartek
Copy link
Collaborator

bjartek commented Sep 16, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants