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
require()
Instead of accessing a Model with:
// ember-cli-mirage/ember-data.js let modelName = matches[1]; let model = require(path, null, null, true).default
It will now be accessed with:
// ember-cli-mirage/ember-data.js let modelName = matches[1]; let model = application.__container__.lookup('service:store').modelFor(modelName)
The text was updated successfully, but these errors were encountered:
And per #2445 the idea of auto-discovering models for ED will probably go away as well
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Instead of accessing a Model with:
It will now be accessed with:
The text was updated successfully, but these errors were encountered: