Support third-party (mirroring) enums with struct variants #2327
Labels
awaiting
Waiting for responses, PR, further discussions, upstream release, etc
enhancement
New feature or request
Describe the bug
The code generator does not generate concrete code for a struct-like enum defined in a third-party crate.
It is left as an opaque type and cannot be constructed on the Dart side.
Steps to reproduce
flutter_rust_bridge_codegen generate
Logs
Expected behavior
A struct-like enum in the first-party crate:
generates the following Dart code:
I expected the same behavior for my third-party crate.
Generated binding code
No response
OS
No response
Version of
flutter_rust_bridge_codegen
No response
Flutter info
No response
Version of
clang++
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: