[experimental-feature] Allow rust2dart to take precedence over other sources for the same type #2278
Labels
awaiting
Waiting for responses, PR, further discussions, upstream release, etc
enhancement
New feature or request
Is your feature request related to a problem? Please describe.
crate 'proto' has type P.
crate 'api', a rust_input, does 'pub use P' and has a rust2dart() implementation. Everything is good here.
Now we add crate 'newimport', a new rust_input, has a struct which includes a
proto::P
....frb_generated.rs:
error[E0119]: conflicting implementations of trait SseDecode for type P
.One implementation is the correct one, with the rust2dart implementation. The other is a standard generated one.
Describe the solution you'd like
When a type has a rust2dart implementation configured, use it everywhere for that type.
Describe alternatives you've considered
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered: