Skip to content

Validate EDF schema and error on misplaced entries #14

Description

@fcruzcscs

The parser could enforce a EDF schema where only known keys are accepted inside [annotations], [env], etc. Then misplaced top-level keys would fail fast instead of silently being ignored or interpreted under the wrong table.

Example error:
[annotations]
mounts = ["/capstor/.../workdir:/workdir"]

Parser then does not interpret mount to be top-level but rather an annotation
Instead, we should fail early or provide a warning when reserved top-level keys such as mounts, image, or other top level entry appear inside a table like [annotations] or [env].

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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