You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately no, since we generate handlers from table schemas. You could though make a custom data type, make a wrapper around original handler and omit\add fields in said wrapper after original handler processes it's operation.
Can we imagine a way to declare fields / methods to omit in the original drizzle schéma ? I never checked if the drizzle schéma can be extended with custom props, I guess not. But this is a typical use case in Prisma land that would be very beneficial here as well.
Is there a simple way to hide a field from an object ? Or to add a custom one ?
The text was updated successfully, but these errors were encountered: