Skip to content

Support list syntax for enum type variables #7

@nishantwrp

Description

@nishantwrp

I wonder if it makes more sense to use the yaml list syntax for this? I think this will affect how your parser works, but should be a lot better for users. For example
This

fruit: enum(apple, orange, banana)

Would become this

fruit:
  - apple
  - orange
  - banana

Originally posted by @CalebJohn in #5 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions