Skip to content

Support converting chrono::NaiveDate to Dart #1833

@TrackerSB

Description

@TrackerSB

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    awaitingWaiting for responses, PR, further discussions, upstream release, etcenhancementNew feature or requestwontfixThis will not be worked on

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions