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

Create common export for trpc input/form schemas #99

Open
owens1127 opened this issue Feb 9, 2025 · 0 comments
Open

Create common export for trpc input/form schemas #99

owens1127 opened this issue Feb 9, 2025 · 0 comments

Comments

@owens1127
Copy link
Collaborator

owens1127 commented Feb 9, 2025

Currently, we are defining schemas on botht he frontend and the backend. This is okay because our TS compiler will complain if they are out of sync, but it would be nice to have a centralized location for all of this

We should have an export in the trpc package, ideally @good-dog/trpc/validation, which exports schemas to be used in both our frontend forms and backend input validations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant