We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Unless you also import ember-data.
ember-data
rwjblue [2:20 PM] basically there are some side effects that happen upon importing ember-data
[2:21] yep
[2:21]
data/addon/-private/system/relationships/ext.js
Line 101 in a0408cc
import Model from 'ember-data/model';
GitHub emberjs/data A data persistence library for Ember.js. (edited)
[2:21] @bmac: thoughts on ^^?
[2:21] @atimberlake: add import "ember-data"; to app/app.js for now to fix your app code
import "ember-data";
app/app.js
atimberlake [2:22 PM] @rwjblue: Thanks, will do
rwjblue [2:22 PM] I wonder if there is a specific reason we .reopen there instead of provide a mixin that Model can include
.reopen
Model
atimberlake [2:23 PM] Thanks, all working again
bmac [3:23 PM] @rwjblue: sounds like model should be importing relationships/ext
relationships/ext
rwjblue [3:24 PM] @bmac: it should import a mixin from there(edited)
[3:24] but if model imports it for side effects, then you have a circular dep and Model will be undefined in relationships/ext
bmac [3:31 PM] makes sense
The text was updated successfully, but these errors were encountered:
Closed by #4091
Sorry, something went wrong.
After upgrading to 2.3.3, we still need to add import ember-data in app/app.js. #4091 was supposed to resolve this, correct?
import ember-data
@MattNguyen That is correct what error are you seeing?
No branches or pull requests
Unless you also import
ember-data
.rwjblue [2:20 PM]
basically there are some side effects that happen upon importing
ember-data
[2:21]
yep
[2:21]
data/addon/-private/system/relationships/ext.js
Line 101 in a0408cc
import Model from 'ember-data/model';
GitHub
emberjs/data
A data persistence library for Ember.js.
(edited)
[2:21]
@bmac: thoughts on ^^?
[2:21]
@atimberlake: add
import "ember-data";
toapp/app.js
for now to fix your app codeatimberlake [2:22 PM]
@rwjblue: Thanks, will do
rwjblue [2:22 PM]
I wonder if there is a specific reason we
.reopen
there instead of provide a mixin thatModel
can includeatimberlake [2:23 PM]
Thanks, all working again
bmac [3:23 PM]
@rwjblue: sounds like model should be importing
relationships/ext
rwjblue [3:24 PM]
@bmac: it should import a mixin from there(edited)
[3:24]
but if model imports it for side effects, then you have a circular dep and
Model
will be undefined in relationships/extbmac [3:31 PM]
makes sense
The text was updated successfully, but these errors were encountered: