fix(computed): on Ember 4.12 / embroider v3 - #734
Conversation
40805d3 to
f60c104
Compare
|
This PR is currently fixing an issue I'm having in my Ember 4.12 ember-addon where the The PR fixes my issue but it doesn't handle all cases and since I don't know the internals of ember-cp-validations I don't really know how to handle all possible cases. It's currently using a Any help would be much appreciated 🙏 |
|
I just approved CI so we can see if tests are failing. |
|
I think a better fix is to use |
|
@Pixelik do you want to give |
|
Hello, I replaced So then I used both Finally, I replaced everything with 1 commit which I've pushed and I think now handles all computed scenarios and all tests are passing for me locally |
ed1d62f to
b6fba28
Compare
|
replaced by #735 |
Resolves #733
Changes proposed:
optionsis a CP, we create a custom class for itcomputeddecorators likeAliasDecoratorImpl(constructor name) in which case the Error"EmberObject.create no longer supports computed..."is still thrown. This is happening on an ember-addon v1 on Ember 4.12 during the embroider-safe scenario (embroider v3)Tasks: