zodern/meteor-relay

Support Meteor 3

zodern opened this issue · 5 comments

Support Meteor 3

I seem like to bumped into an 3.0 issue.
Promise.await is not a function

i fixed it by local cloning the repo and chaning the (Promise as any).await calls to warp the function with Meteor.wrapAsync

I wasnt lucky with Meteor.wrapAsync. I had to remove the Promise.await part for it to work.

Howdy @zodern! I saw there was a PR for Meteor 3 support, and just wanted to see if you were planning to update this for Meteor 3! Thanks for everything you do!

I published 2.0.0-beta.1 which adds support for Meteor 3 (Meteor 2.2+ is still supported). The only breaking change is withCursors is now async, which shouldn't affect any apps that use it as documented.

Please try it and let me know if you see any unexpected behavior.

Thanks so much @zodern. I will update today and report any errors.