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
Perhaps we could add a new setting called 'preserveDecimal' to the library, which would allow users to choose how Decimal values are generated. By default, this setting would be set to false.
Expected Behavior
Perhaps we could add a new setting called 'preserveDecimal' to the library, which would allow users to choose how Decimal values are generated. By default, this setting would be set to false.
Example of output when it set to true:
I am proposing a solution to make all my DTO payloads type-safe by following Prisma includes. In the end it helps me to better document my APIs.
The Decimal type is generating as a number, which causes type incompatibilities. The temporary solution I have found so far is to ignore it:
If I find the time, I can work on this and suggest a solution.
Actual Behavior
The output is in number type:
The text was updated successfully, but these errors were encountered: