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

Fix compile issue, pass error shape, and unwrap more zod types #2

Merged
merged 2 commits into from
Jan 12, 2024

Conversation

tonyxiao
Copy link

  1. Fixing caused by importing types that don't compile
    fix: update @trpc/server imports to use dist trpc/trpc-openapi#411

  2. Allow more zod types to be used in query param arguments (e.g. enum) by unwrapping them

  3. Allow raw error info to be processed by user of the api by passing the shape along

@tonyxiao
Copy link
Author

Thanks for the great work btw! This is so much better maintained than the original

@tonyxiao
Copy link
Author

@LilyRose2798 ping

@LilyRose2798 LilyRose2798 merged commit ed63598 into LilyRose2798:master Jan 12, 2024
@LilyRose2798
Copy link
Owner

Sorry I didn't get around to merging this earlier.

@tonyxiao
Copy link
Author

great! Would you be able to publish a new version? Would love to change to depend on your fork instead of maintaining a separate one :)

@LilyRose2798
Copy link
Owner

Done. c:

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