Skip to content

Highlight schema validation issues in editor #589

@danielrbradley

Description

@danielrbradley

Hello!

  • Vote on this issue by adding a 👍 reaction
  • If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)

Issue details

When writing an ESC environment in YAML, it would be useful to highlight where keys are incorrect. The most basic version could just be based on a JSON schema (see also #251 and #145).

For example, if environmentVariables is specified as a top-level key rather than nested under values, then it should be clear this is wrong. Similarly, functions such as fn::secret should have clear errors if trying to specify an invalid input property.

Affected area/feature

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions