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

refactor: remove dependency on z.object #210

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

decs
Copy link

@decs decs commented Mar 13, 2024

refactor: remove dependency on z.object

Summary:
A step towards addressing #6. This PR removes the z.object internal wrapper. There's a breaking change on the onValidationError function, but it should be minor.

Test Plan:

bun run build
bun run test

Copy link

vercel bot commented Mar 13, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
t3-env ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 13, 2024 7:30am

Copy link

vercel bot commented Mar 13, 2024

@decs is attempting to deploy a commit to the t3-oss Team on Vercel.

A member of the Team first needs to authorize it.

@juliusmarminge
Copy link
Member

Thanks for the PR, but I'm a bit confused. How is this better than what we have and how does it progress towards the linked issue? The goal is to have the user pass in a ZodObject instead of a record. Maybe I am missing something?

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.

2 participants