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

Remove assign() usage #439

Merged
merged 1 commit into from
Jan 31, 2022
Merged

Remove assign() usage #439

merged 1 commit into from
Jan 31, 2022

Conversation

Turbo87
Copy link
Contributor

@Turbo87 Turbo87 commented Jan 30, 2022

The assign() function in Ember.js has been deprecated with v4. This replaces it with the object spread syntax which should be compiled away by Babel, if necessary.

This is an alternative to and closes #437

/cc @maxfierke

The `assign()` function in Ember.js has been deprecated with v4. This replaces it with the object spread syntax which is compiled away by Babel, if necessary.
Copy link
Collaborator

@maxfierke maxfierke left a comment

Choose a reason for hiding this comment

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

:octocat: lgtm! I'm assuming the transform is built into any relatively modern ember-cli-babel w/ in the version constraint, but let me know if you know otherwise

@maxfierke maxfierke merged commit cfc0fec into sir-dunxalot:master Jan 31, 2022
@Turbo87
Copy link
Contributor Author

Turbo87 commented Jan 31, 2022

the transform is built into any relatively modern ember-cli-babel w/ in the version constraint, but let me know if you know otherwise

yep, that is my understanding too

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