-
-
Notifications
You must be signed in to change notification settings - Fork 104
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
ember-simple-auth can't resolve 'session' type #331
Comments
In MU you need to tweak the config settings, I don't recall the exact incantation ATM but @NullVoxPopuli / @ppcano / @buschtoens likely do... |
@mikkopaderes you'll want to tweak the config similarly like this: https://github.com/NullVoxPopuli/emberclear/blob/master/packages/frontend/src/resolver.js#L13 |
This comment emberjs/ember.js#17234 (comment) may be useful |
@NullVoxPopuli interesting. I didn't know there was a config for that. I actually had to edit the ember-resolver addon itself from inside the |
It works. moduleConfig.types = Object.assign(moduleConfig.types, {
// ember-simple-auth
'session': { definitiveCollection: 'session' },
'session-store': { definitiveCollection: 'session-store' },
}); Resolving this.. |
Thank you all for helping out! We definitely need to get an actual API togeyther that makes this a bit better. |
This is for the module unification environment.
Error while processing route: index Assertion Failed: 'session' is not a recognized type Error: Assertion Failed: 'session' is not a recognized type
This is the code that causes the problem.
session:main
is being registered in an initializer here.I'm not sure what the problem is but it seems
session:main
isn't being registered properly.The text was updated successfully, but these errors were encountered: