You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the report, do you have your project configured with Membrane::new().with_c_style_enums(false) or .with_c_style_enums(true) (the default)? Or another way to ask this, are Dart enums or Dart classes being generated?
Sorry for the slow response, I thought I had responded to you earlier. To solve this you'll need to add .with_c_style_enums(false) to the config so that classes are generated instead of Dart enums. Dart enums are unable to hold data which is what your enum definition requires.
I'll see if I can improve the compiler error messaging around this case.
With Membrane, there seems to be a deserialization issue on the dart side when passing rust variant enums:
Error:
The text was updated successfully, but these errors were encountered: