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

Can JSON schema defaults pull from the defaults on the struct if not otherwise specified? #1296

Open
stephenberry opened this issue Sep 13, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@stephenberry
Copy link
Owner

stephenberry commented Sep 13, 2024

The type would have to be default constructible and we would need to construct a tuple or use a map to lookup the default.

This needs to be implemented in a manner that compiles efficiently.

@stephenberry stephenberry added the enhancement New feature or request label Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant