-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Add ember-disable-proxy-controllers to app blueprint #4037
Add ember-disable-proxy-controllers to app blueprint #4037
Conversation
👍 |
Is it possible to retrigger the build in app veyor? Failed because of NPM install. |
Restarted |
3b6b049
to
b879443
Compare
Ok, I give up. I retried appveyor 5 times. |
b879443
to
2ca085d
Compare
2ca085d
to
b997497
Compare
Any feedback on this? |
…ntrollers Add ember-disable-proxy-controllers to app blueprint
Confirm. |
@rwjblue shall we start the 0.13.x series with this? |
I think this can still be 0.2.x, but we should call it out above the changelog (in the "important things to watch" section). This is only breaking if you add the addon when you were relying on |
As a note, with this addon only people creating their own |
Most likely only autogenerated controllers will be affected. |
To clarify for others, this only affects auto-generated controllers (those that are not created as a module manually). IMHO, there really shouldn't be breakage... |
This broke my app — and worse, the breakage caused my tests (which i ran first after updating) to take 40x-100x longer to run, so it took me a little longer to figure out the cause. This was the error that showed up in my console:
The offending line was an |
@adamesque - Thanks for the note, hopefully helps others that run into this issue. |
This also broke my application. "The value that #each loops over must be an Array. You passed partner@controller:array:, but it should have been an ArrayController" One fix, if you can't yet change your application code, is to simply uninstall the addon. |
This addon reexports
Ember.Controller
asApp.ObjectController
andApp.ArrayController
.Including this addon in new apps will make generated controllers be always regular
Ember.Controller
, remove lots of deprecation warnings and make migration to ember 2 easier.Idea from @rwjblue in emberjs/ember.js#11070