-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix ember-scheduler to work with native class syntax #60
Conversation
It seems missing if (super.setup) {
super.setup(...arguments);
} in the setup function like https://github.com/machty/ember-concurrency/blob/master/addon/-task-property.js#L439-L442 After adding these code to setup function, it works in my project running in ember 3.6 |
I'm also experiencing this when I update to Ember 3.6 |
I've added the conditional super call and updated this pull request. The CI still fails because of a dependency. I'll check that. |
While ember-animated runs agains 3.6 in my simple test scenario the checks for ember try:one with ember-release ember-beta and ember-canary fail. I think that most of the issues are not related to ember-animated, e.g. willTransition is not used anywhere, maybe some test dependencies need to be updated. Any help is appreciated. |
@toovy This PR I just did on ember-app-scheduler should fix your problems or at least some of them: ember-app-scheduler/ember-app-scheduler#192 |
@toovy I believe that if you now delete yarn.lock and reinstall dependencies it should work. |
@cibernox yes, removing the yarn.lock and reinstalling worked, thanks. So I guess we have to wait will the PR you made is merged. There is still the issue with |
@toovy I turned out my PR wasn't needed, someone did it already. I closed it. Whatever is failing now is unrelated. |
Thanks for helping with this. |
np 👍 |
Using https://github.com/pzuraq/ember-native-class-polyfill and probably ember 3.6 there is an issue with the native class syntax and computed properties. A similar issue occurred in ember-concurrency (see machty/ember-concurrency#261) and will be fixed in machty/ember-concurrency#262.
I've changed the ember-scheduler to now work with the class based syntax for the TaskProperty. As the test are still running I assume that the fix works.