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

initial choice type support #20

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

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