You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dcyriller
changed the title
[Feature] Add model and model-test MU support
[Feature] Add model and model-test blueprints MU support
Jun 14, 2018
dcyriller
changed the title
[Feature] Add model and model-test blueprints MU support
[Feature] Add MU support or model and model-test blueprints
Jun 14, 2018
dcyriller
changed the title
[Feature] Add MU support or model and model-test blueprints
[Feature] Add MU support for model and model-test blueprints
Jun 14, 2018
In CI, ember-canary scenario is failing. It seems related to an upgrade of ember-canary version as every recent PR is failing on this test:
112) [Chrome 67.0] integration/adapter/build-url-mixin - BuildURLMixin with RESTAdapter: buildURL - buildURL takes the records from findMany
Died on test #1 at Module.callback (http://localhost:7357/assets/tests.js:967:19)
at Module.exports (http://localhost:7357/assets/vendor.js:111:32)
at requireModule (http://localhost:7357/assets/vendor.js:32:18)
at TestLoader.<anonymous> (http://localhost:7357/assets/test-support.js:10412:11)
at TestLoader.require (http://localhost:7357/assets/test-support.js:10402:27)
at TestLoader.loadModules (http://localhost:7357/assets/test-support.js:10394:16)
at loadTests (http://localhost:7357/assets/test-support.js:11447:22): snapshots.get is not a function
TypeError: snapshots.get is not a function
at Class.adapter.buildURL (http://localhost:7357/assets/tests.js:973:38)
at Class.findMany (http://localhost:7357/assets/vendor.js:89663:22)
at _findMany (http://localhost:7357/assets/vendor.js:83754:27)
at http://localhost:7357/assets/vendor.js:85576:15
at Class._flushPendingFetchForType (http://localhost:7357/assets/vendor.js:85581:15)
at Map.forEach (<anonymous>)
at MapWithDefault.forEach (http://localhost:7357/assets/vendor.js:74318:42)
at Class.flushAllPendingFetches (http://localhost:7357/assets/vendor.js:85460:26)
at invoke (http://localhost:7357/assets/vendor.js:37864:24)
at Queue.flush (http://localhost:7357/assets/vendor.js:37784:25)
The canary test failure is a known issue; however, I recently had to skip the adapter tests this is inspired by because it turns out that the emberNew() test helper for blueprint generation does not yet have a way to turn on the module-unification flag. Once canary of ember-cli offers this ability I will happily help move this forward :)
dcyriller
changed the title
[Feature] Add MU support for model and model-test blueprints
[Feature] WIP: Add MU support for model and model-test blueprints
Sep 22, 2018
dcyriller
changed the title
[Feature] WIP: Add MU support for model and model-test blueprints
[Feature] Add MU support for model and model-test blueprints
Sep 23, 2018
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR aims at providing MU support for this ember-cli command:
ember generate model foo.It is a part of this quest issue: ember-cli/ember-cli#7530
Heavily inspired by #5476