Omit fields with createInsertSchema, createUpdateSchema, createSelectSchema? #4744
Unanswered
waynesbrain
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I can see here that refinements are simply assigned with no consideration for what type of refinement is given. It would be nice if that could be wrapped with a check for I started making a pull request for this, but I thought I'd check if I was missing something before spending time doing that. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a more convenient way to omit fields with these functions from
drizzle-typebox
? Currently I have to do this to omit a field (phash
) from the schema and resulting type:Other things I tried that didn't work:
Beta Was this translation helpful? Give feedback.
All reactions