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

Schema/code generation: allow "is-array" on enum elements #406

Open
PatrikLundell opened this issue May 25, 2020 · 0 comments
Open

Schema/code generation: allow "is-array" on enum elements #406

PatrikLundell opened this issue May 25, 2020 · 0 comments

Comments

@PatrikLundell
Copy link
Contributor

Unless there's some technical issue, it would be useful to support the "is-array" attribute on enum elements in addition to pure integer ones. I recently had the issue that an "integer" array was identified as containing enum values, and then had to jump through hoops to get the schema validation to accept a reworked description that represented the information. Obviously, the schema should reject cases that aren't supported by the code generation, so a changed schema should be backed up by the code generation.

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

1 participant