flutter_rust_bridge icon indicating copy to clipboard operation
flutter_rust_bridge copied to clipboard

Support converting chrono::NaiveDate to Dart

Open TrackerSB opened this issue 1 year ago • 5 comments

Recent updates of the dependency to allo-isolate introduced support chrono::NaiveDate in FRB. However, when converting a Rust struct containing a field of type chrono::NaiveDate a (working 👍🏻) Dart class which extends from RustOpaque is generated.

Despite the fact that this should be enough to technically utilize the Dart class it would be much nicer if it generated a field of type DateTime instead of depending on RustOpaque. This enables quite more capabilities on the Dart side. In my case especially reflection.

TrackerSB avatar Mar 24 '24 10:03 TrackerSB

Sure! Looking forward to reviewing and merging #1834 :)

fzyzcjy avatar Mar 24 '24 11:03 fzyzcjy

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar May 25 '24 09:05 stale[bot]

It is still currently worked on trying to keep up with resolving conflicts with origin/master and adapting to CI requirements.

TrackerSB avatar May 25 '24 10:05 TrackerSB

(Mark as awaiting since there is ongoing PR, thus the issue is awaiting PR)

fzyzcjy avatar Jun 21 '24 01:06 fzyzcjy

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Aug 23 '24 03:08 stale[bot]

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.

github-actions[bot] avatar Sep 15 '24 21:09 github-actions[bot]