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

Optional inferred defaults #86

Open
1 task done
paulohsa32 opened this issue Apr 7, 2023 · 0 comments
Open
1 task done

Optional inferred defaults #86

paulohsa32 opened this issue Apr 7, 2023 · 0 comments

Comments

@paulohsa32
Copy link
Contributor

Describe the feature

When generating schema based on a json sample always the provided values are used as default values in the generated schema, also affecting then everything created by that schema, and that's not always what the developer wants.

This can be improved by inferDefaults being a configurable option that defaults to true.

Additional information

  • Would you be willing to help implement this feature?
@paulohsa32 paulohsa32 changed the title Optional defaults Optional inferred defaults Apr 7, 2023
paulohsa32 pushed a commit to paulohsa32/untyped that referenced this issue Apr 12, 2023
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

No branches or pull requests

1 participant