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

feat: joi number min/max validation #143

Merged
merged 2 commits into from
Apr 6, 2024
Merged

Conversation

mnahkies
Copy link
Owner

@mnahkies mnahkies commented Apr 6, 2024

#140 but for joi schema builders.

also unifies the test harness between zod and joi schema builder tests, hopefully helping me be less lazy about improving the joi schema builder in lockstep with zod.

@mnahkies mnahkies enabled auto-merge (squash) April 6, 2024 11:29
@mnahkies mnahkies merged commit 179ea58 into main Apr 6, 2024
1 check passed
@mnahkies mnahkies deleted the mn/feat/joi-number-validation branch April 6, 2024 11:31
mnahkies added a commit that referenced this pull request Apr 6, 2024
adds support for the rest of the number validation keywords
defined by JSON schema validation.

also fixes a bug in #140 / #143 where `0` would be treated as
`undefined`

ref: https://datatracker.ietf.org/doc/html/draft-bhutton-json-schema-validation-00#section-6.2
mnahkies added a commit that referenced this pull request Apr 6, 2024
adds support for the rest of the number validation keywords defined by
JSON schema validation.

also fixes a bug in #140 / #143 where `0` would be treated as
`undefined`

relates #51 

ref:
https://datatracker.ietf.org/doc/html/draft-bhutton-json-schema-validation-00#section-6.2
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