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

Support ember 3.10.0 #1

Closed
wants to merge 1 commit into from
Closed

Support ember 3.10.0 #1

wants to merge 1 commit into from

Conversation

GavinJoyce
Copy link
Owner

@GavinJoyce GavinJoyce commented May 15, 2019

A quick fork to unblock our ember 3.10.0 upgrade efforts.

adopted-ember-addons#641 tracks the attempt to upstream these changes

@@ -0,0 +1,20 @@
const __EMBER_METAL__ = Ember.__loader.require('@ember/-internals/metal');
Copy link
Owner Author

@GavinJoyce GavinJoyce May 21, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This works in Ember 3.8+ only. It should be possible to make it backwards compatible should we wish though, we just need to detect the version
something like this:

https://github.com/pswai/ember-simple-redux/blob/eff20c312cbe1c9d15106608abacbf2966a54a4c/addon/utils/get-mutable-attributes.js#L13

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@GavinJoyce
Copy link
Owner Author

Apart for the decorators test, which I've modified to pass, all tests are passing in Ember 3.8 and 3.10

Screen Shot 2019-05-21 at 10 56 51

@GavinJoyce
Copy link
Owner Author

closed in favour of adopted-ember-addons#641 and #2

@GavinJoyce GavinJoyce closed this May 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants