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

[RFC][NI] Add Enumerable super-class #268

Merged
merged 1 commit into from
Sep 14, 2018

Conversation

AndreJoaquim
Copy link
Contributor

NI

Motivation:

In every new project, we're always including (i.e. copy+paste) the types.js file containing a super class to empower our EmberObjects that represent enumerables.

Therefore, I decided to add enumerable.js -- an EmberObject sub-class and copy of types.js-- and have all enumerables inherit from it.

From now on, enumerable.js should be used and types.js is from this PR on deprecated. The release containing this PR must have a migration guide, although this is not a breaking change, but rather an additional functionality.

Copy link
Contributor

@hfcorreia hfcorreia left a comment

Choose a reason for hiding this comment

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

💯

@AndreJoaquim AndreJoaquim force-pushed the NI/add-enumerable-super-class branch from 0c498f1 to 64c3ff6 Compare September 14, 2018 15:15
@AndreJoaquim AndreJoaquim merged commit 8ff2ecc into master Sep 14, 2018
@AndreJoaquim AndreJoaquim deleted the NI/add-enumerable-super-class branch September 14, 2018 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants