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
I've just updated my app from Seed 0.4.1 to 0.5.1, and it could have gone more smoothly. When I do breaking change releases of Criterion.rs I try to write a migration guide listing the breaking changes and what users will need to do to update their code for each change - I think it would be helpful if Seed did the same.
In particular, the problems I ran into:
Moving from futures 0.1 to std:future required a bunch of changes to the types returned by functions that make requests. Eventually I realized that it was actually simple to fix - I just needed to replace Future<Item = (.*), Error = (.*)> with Future<Output = Result<$1, $2>>.
Removed the init function in exchange for this before_mount/after_mount thing that I still don't really understand? There also doesn't seem to be any documentation about that.
Renamed map_message to map_msg. It took me a while to even realize that it had simply been renamed rather than removed entirely.
The text was updated successfully, but these errors were encountered:
I've just updated my app from Seed 0.4.1 to 0.5.1, and it could have gone more smoothly. When I do breaking change releases of Criterion.rs I try to write a migration guide listing the breaking changes and what users will need to do to update their code for each change - I think it would be helpful if Seed did the same.
In particular, the problems I ran into:
Future<Item = (.*), Error = (.*)>
withFuture<Output = Result<$1, $2>>
.init
function in exchange for thisbefore_mount
/after_mount
thing that I still don't really understand? There also doesn't seem to be any documentation about that.map_message
tomap_msg
. It took me a while to even realize that it had simply been renamed rather than removed entirely.The text was updated successfully, but these errors were encountered: