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

Nested addons should be overrideable from parent. #3336

Merged
merged 1 commit into from
Feb 22, 2015

Conversation

rwjblue
Copy link
Member

@rwjblue rwjblue commented Feb 22, 2015

The initial logic added to call treeFor on all of a given addons
nested children had the following issues:

  • The trees returned could not be overridden by the including addon.
  • The final merging of those trees did not use the overwrite: true
    flag, which meant that any shared addons would throw an error instead
    of simply using the last one (which is the Ember CLI 0.1.x behavior).

The initial logic added to call `treeFor` on all of a given addons
nested children had the following issues:

* The trees returned could not be overridden by the including addon.
* The final merging of those trees did not use the `overwrite: true`
  flag, which meant that any shared addons would throw an error instead
  of simply using the last one (which is the Ember CLI 0.1.x behavior).
@rwjblue
Copy link
Member Author

rwjblue commented Feb 22, 2015

Should address an issue pointed out in IRC by @lukemelia.

@lukemelia
Copy link
Contributor

Thanks @rwjblue. This should cover what @raycohen and I ran into today.

rwjblue added a commit that referenced this pull request Feb 22, 2015
Nested addons should be overrideable from parent.
@rwjblue rwjblue merged commit ff83291 into ember-cli:master Feb 22, 2015
@rwjblue rwjblue deleted the update-nested-addon-tree-for branch February 22, 2015 20:26
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.

None yet

3 participants