Closed atharvapalaskar closed 1 month ago
Name | Link |
---|---|
Latest commit | d7cde03be9af0de4af2eee7bc23836aeac3415c5 |
Latest deploy log | https://app.netlify.com/sites/prisma-dart/deploys/6655b0c6c5f3bd0008d939fd |
Deploy Preview | https://deploy-preview-366--prisma-dart.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Thx
fix: Correct encoding of DateTime and Enum fields in toJson(), ensuring proper JSON response generation Resolves #365
Example
Old Output of Generated Model Class The old output of the generated toJson() method was as follows:
New Output of Generated Model Class
The toJson() method correctly encodes DateTime fields using toIso8601String() and Enum fields using their string representations.
The expected output of the generated toJson() method is:
For more info check issue #365