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

Non empty collection schemas (#717) #723

Merged
merged 4 commits into from
Aug 14, 2024
Merged

Conversation

987Nabil
Copy link
Contributor

@987Nabil 987Nabil commented Aug 7, 2024

@jdegoes I went with a new Schema sub type instead of transforming, since it offers a way to introspect in libs. For example, in zio-http query parsing, we can just check that the query params is not there and fail immediately.
Also it is easier to add support for other non empty collections by the user.

fixes #717
/claim #717

jdegoes
jdegoes previously approved these changes Aug 9, 2024
@jdegoes
Copy link
Member

jdegoes commented Aug 9, 2024

@987Nabil Good to merge when CI is passing. 👍

@987Nabil 987Nabil force-pushed the non-empty-collection branch 3 times, most recently from 2740a59 to d2e33a7 Compare August 14, 2024 14:57
@987Nabil 987Nabil merged commit ce3a315 into zio:main Aug 14, 2024
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Schema for non empty collections
2 participants