Skip to content

Conversation

williamhammond
Copy link

Rather than using anyOf of unions types, this does an anyOf for the _type, and then adds conditionals to point to the actual table that the type is associated with.

There's no associated issues for this at the moment, I just found it helpful for the project I'm working on

@github-actions github-actions bot added c++ codegen Involving generating code from schema json python labels Jul 20, 2025
@williamhammond williamhammond force-pushed the enforce-correct-data-in-json-schema-union branch from b77c386 to 7663dab Compare July 21, 2025 03:10
@github-actions github-actions bot removed the python label Jul 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++ codegen Involving generating code from schema json
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant