Graduated in Digital Media M.Sc. now developing the next generation of educational software. Since a while I develop full stack in Javascript using Meteor. Love fitness and Muay Thai after work.
Graduated in Digital Media M.Sc. now developing the next generation of educational software. Since a while I develop full stack in Javascript using Meteor. Love fitness and Muay Thai after work.
Hi! Both... here's the snippet. Puzzled because I read the code and figure out a couple of imports might be required... but the helper still outputs to the console that my method is not async yet.
Graduated in Digital Media M.Sc. now developing the next generation of educational software. Since a while I develop full stack in Javascript using Meteor. Love fitness and Muay Thai after work.
Thanks for the examples I will try to reproduce this. In the meantime, there has also been an eslint-plugin being developed by quave, which can also help you to detect parts that need migration (it is specifically designed for this task):
Also, wanted to pick someone's brain around how to fix these issues... must I find new packages for these? (debugging results from the suggested migration helper package):
Deprecated (Publication): meteor_autoupdate_clientVersions is not async, consider migrating now.
=> at packages/autoupdate/autoupdate_server.js:109:8
Deprecated (Publication): _roles is not async, consider migrating now.
=> at module (packages/alanning:roles/roles/roles_server.js:30:8)
Deprecated (Method): slingshot/uploadRequest is not async, consider migrating now.
=> at packages/edgee_slingshot.js:404:8
Deprecated: Collection.findOne needs to be migrated to findOneAsync in collection "__dummy_coll_4MqSQRvCKueAzPu9m"!
=> at module (packages/mdg:meteor-apm-agent/lib/hijack/meteorx.js:34:12)
Deprecated: Collection.update needs to be migrated to updateAsync in collection "meteor_accounts_loginServiceConfiguration"!
=> at Collection.upsert (packages/mongo/collection.js:785:17)
Is there a pagination package you'd recommend to use for Meteor 3?
I am using this one but it's not been maintained and JKuster's migration helper reports the underlying methods not being async.
I believe this library was causing me trouble as it trips the migration helper... as soon as I removed it, all my methods stopped reporting not being async.
For the
count, the migration should be more advanced, from documentation:Thanks for the hint, I will update this one
Trying to use the ValidationMethod override, but stomped with this error... not sure if the "analyze" method requires another import?
Thanks!
Did you use the
jkuester:migration-helperpackage or did you used the code from this article?Hi! Both... here's the snippet. Puzzled because I read the code and figure out a couple of imports might be required... but the helper still outputs to the console that my method is not async yet.
And this is the method code (very simple case):
Any advice will be appreciated... working hard on refactoring my webapp to migrate to v3 ASAP.
Cheers
Thanks for the examples I will try to reproduce this. In the meantime, there has also been an eslint-plugin being developed by quave, which can also help you to detect parts that need migration (it is specifically designed for this task):
github.com/quavedev/eslint-plugin
Will get back to you when I find the cause for the issue.
Thank you!
Also, wanted to pick someone's brain around how to fix these issues... must I find new packages for these? (debugging results from the suggested migration helper package):
Another one:
Is there a pagination package you'd recommend to use for Meteor 3?
I am using this one but it's not been maintained and JKuster's migration helper reports the underlying methods not being async.
github.com/Kurounin/Pagination/tre...
I believe this library was causing me trouble as it trips the migration helper... as soon as I removed it, all my methods stopped reporting not being async.
mdg:meteor-apm-agent@jankapunkt FYI