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

Avoid inlining schemas in internally-tagged enum newtype variants #355

Merged
merged 2 commits into from
Nov 25, 2024

Conversation

GREsau
Copy link
Owner

@GREsau GREsau commented Nov 24, 2024

Schemas are still inlined in some cases, e.g. when the inner type has deny_unknown_fields, because then $ref would cause an unsatisfiable schema due to the variant tag not being allowed

Supersedes #347

Schemas are still inlined in some cases, e.g. when the inner type has `deny_unknown_fields`, because then `$ref` would cause an unsatisfiable schema due to the variant tag not being allowed
@GREsau GREsau merged commit 95023c2 into master Nov 25, 2024
8 checks passed
@GREsau GREsau deleted the ref-internally-tagged-variants branch November 25, 2024 10:26
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.

1 participant