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

groq-builder: compatibility with GroqD #248

Merged
merged 53 commits into from
Dec 21, 2023
Merged

Conversation

scottrippey
Copy link
Member

@scottrippey scottrippey commented Dec 11, 2023

What

Adds more features and compatibility with GroqD v0.x, to ensure "upgrading" is as smooth as possible.

For example:

  • Optionally adds simple validation methods, like q.string() and q.number().optional() to assist in migrating from Zod
  • Supports createGroqBuilder<any>() for a schema-less builder, which still has strong output types

Other improvements

scottrippey added 30 commits November 27, 2023 23:15
@scottrippey scottrippey marked this pull request as ready for review December 18, 2023 14:19
@scottrippey scottrippey merged commit 1cbc5f2 into main Dec 21, 2023
5 checks passed
@scottrippey scottrippey deleted the groq-builder-compat branch December 21, 2023 21:18
@github-actions github-actions bot mentioned this pull request Dec 21, 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

Successfully merging this pull request may close these issues.

Failed to resolve entry for package "groq-builder".
3 participants