Skip to content

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

@jribbink

Description

@jribbink

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions