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
When parsing rest API responses back to prisma types using the generated schemas it's often an issue for bigints as they have to be converted to strings. It would be great to have them coerced back into bigints automatically when using the schemas parse similar to how dates are currently.
Implementation would change generated schemas from something like this:
The text was updated successfully, but these errors were encountered:
JackMBurch
changed the title
Support for bigint coercion similar to date()
[Feature Request] Support for bigint coercion similar to date()
Jul 30, 2024
When parsing rest API responses back to prisma types using the generated schemas it's often an issue for bigints as they have to be converted to strings. It would be great to have them coerced back into bigints automatically when using the schemas parse similar to how dates are currently.
Implementation would change generated schemas from something like this:
to this:
The text was updated successfully, but these errors were encountered: