-
Notifications
You must be signed in to change notification settings - Fork 300
New issue
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
Implement code generation for NaiveDate #1608
Comments
Hi! Thanks for opening your first issue here! 😄 |
Looks reasonable and feel free to PR! flutter_rust_bridge uses allo-isolate's |
(close since PR merged) |
Thanks a lot for fixing and merging the PR! |
You are welcome! |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new issue. |
I'm using diesel to generate structs representing database entries. Given a PostgreSQL schema having a column of type
date
it generates a struct with a member of typeNaiveDate
for whichIntoDart
is not implemented. Trying to do so instantly runs into rusts orphan restriction.Given that
IntoDart<NaiveDateTime>
is already implemented a solution should be already within reach, I naively assume.For the time being I can live with changing the column type to
timestamp
, i.e. including a time resulting inNaiveDateTime
.The text was updated successfully, but these errors were encountered: