For people migrating from version 4 to 5 #259
temeddix
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Now
requestToRust
Dart function will returnnull
when the handler function in Rust cannot respond or has panicked. This is a breaking change, so when you upgrade to this version, you need to:rinf template
in the terminal and refactor some of the code where IDE warns you about mismatches.lib.rs
andwith_request.rs
modules of thehub
crate.Refactoring your code shouldn't be too hard, since all of the warnings will be given by the IDE. This is not a seriously big change, so please refer to the documentation for further details, or ask here if you need any help.
Beta Was this translation helpful? Give feedback.
All reactions