Skip to content
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

Ember cli deprecation workflow compatibility #93

Merged

Conversation

andreyfel
Copy link
Contributor

@andreyfel andreyfel commented Feb 25, 2022

If ember-classic-decorator is run before ember-cli-deprecation-workflow ember-cli-deprecation-workflow invokes window.require before the ember data classes exists. Therefore ember-classic-decorator's patch of window.require doesn't see ember data classes and it doesn't register them.

Run ember-classic-decorator after ember-cli-deprecation-workflow to resolve this problem.

Fixes #80

ember-classic-decorator patches `require`.
ember-cli-deprecation-workflow invokes `require`.

Avoid too early require invocation when there is no ember-data
or ember-resolver packages by specifying `after` for
ember-classic-decorator.
@dwickern
Copy link

dwickern commented Jun 2, 2022

I can confirm that this fixes #90. Are there any blockers to get this released?

@drouhard
Copy link

@dwickern @andreyfel any idea what needs to happen to get this merged?

@sergiocanales00
Copy link

@dwickern @andreyfel is something blocking the merge of this one? Or do we have an idea of when it could be released?

@andreyfel
Copy link
Contributor Author

I don't have a permission to merge it. @ef4 might be able to?

@seemajune
Copy link

@dwickern @ef4 I hope you're having a great week. I love to see that the Ember community is still so supporting each other so well. Anything we can do to help in getting this branch merged? pretty please? 💟

@ef4 ef4 merged commit 4e6e087 into emberjs:master Oct 12, 2022
@ef4 ef4 added the bug Something isn't working label Oct 12, 2022
@ef4
Copy link
Contributor

ef4 commented Oct 12, 2022

Thanks, released in 3.0.1.

@seemajune
Copy link

Thanks, released in 3.0.1.

thank you so much, you made my day

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ember-data classes no longer recognized on Ember 3.27 or later
6 participants