We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When performing a raw query using the Dart ORM, the query fails if a column contains both DateTime and null values. The following error is thrown:
FormatException: Invalid date format null #0 DateTime.parse (dart:core/date_time.dart:351:7) #1 _decode (package:orm/src/runtime/raw/_deserialize_raw_results.dart:32:38) #2 deserializeRawResult (package:orm/src/runtime/raw/_deserialize_raw_results.dart:18:42) #3 RawClient.query (package:orm/src/runtime/raw/raw_client.dart:22:12) <asynchronous suspension> #4 ContrattiPrismaRepository.getContratti (package:ewocrm_server/src/features/contratti/repositories/contratti_prisma.dart:55:24) <asynchronous suspension> #5 ContrattiEndpoint.get (package:ewocrm_server/src/endpoints/contratti_endpoint.dart:23:12) <asynchronous suspension>
The text was updated successfully, but these errors were encountered:
Thank you for your feedback. I will fix this problem later.
Sorry, something went wrong.
fix(engine, raw): primitive type fields cannot be nullable
f6bbd24
#427
139ebce
Fixed in v5.1.1 version, ❤️ ~
No branches or pull requests
When performing a raw query using the Dart ORM, the query fails if a column contains both DateTime and null values. The following error is thrown:
The text was updated successfully, but these errors were encountered: