Skip to content

Commit

Permalink
feature(zod): updated changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
scottrippey committed Feb 3, 2024
1 parent db6cfbe commit a8da1a7
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .changeset/forty-spiders-hug.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,14 @@
"groq-builder": minor
---

Removed internal validation methods; use Zod methods instead.
Added `createGroqBuilderWithZod()` and removed the `.include(zod)` method

Removed internal validation methods; use Zod methods instead

Added `validationRequired` option to require runtime validation

Removed `$` from `q.conditional$` and `q.select$` methods; these are now just `q.conditional` and `q.select`

Added optional validation parameter to `q.field(field, validation?)`
Added optional validation parameter to `q.field(field, parser?)`

Cleaned up some internal types, added better type documentation

0 comments on commit a8da1a7

Please sign in to comment.