Skip to content

Conversation

@marcelbuesing
Copy link
Contributor

@marcelbuesing marcelbuesing commented Dec 21, 2021

Partial support of the choice element. There are quite a number of edge cases I fear. I think best would have been to turn this into an enum, the problem I had is that the id field is optional so I had no idea where to get a name from for the enum. Right now it's not enforced that only a single element can be set. If anyone comes up with a solution for the name I think that would be great, from every perspective I think the enum would be more convenient than multiple optional fields.

What's missing:

  • proper minOccurs, maxOccurs handling
  • documentation generation
  • extension as a parent
  • restriction as a parent
  • sequence as a parent
  • ... probably more

@MarcAntoine-Arnaud MarcAntoine-Arnaud changed the base branch from master to main February 8, 2023 02:30
@matzipan matzipan mentioned this pull request Dec 24, 2023
1 task
@matzipan matzipan mentioned this pull request Jan 2, 2024
6 tasks
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

Successfully merging this pull request may close these issues.

2 participants