mainmatter / ember-simple-auth

A library for implementing authentication/authorization in Ember.js applications.
https://ember-simple-auth.com
MIT License
1.93k stars 606 forks source link

Create store.js #2796

Closed peter-scholtens closed 5 days ago

peter-scholtens commented 1 week ago

Explicitly define store, to suppress deprecation warning, which appeared after logging in.

DEPRECATION: You are relying on ember-data auto-magically installing the store service. Use `export { default } from 'ember-data/store\';` in app/services/store.js instead [deprecation id: ember-data:deprecate-legacy-imports] This will be removed in ember-data 6.0.
peter-scholtens commented 1 week ago

It is not clear to me if the other examples (classic-test-app and test-esa) also need this store.js file, as I see no site at all and lots of Content-Security-Policy warnings in the console.

BobrImperator commented 1 week ago

test-esa is a pretty much empty app exclusively for unit tests.

classic-test-app should work though and this was the reason why it didn't.

peter-scholtens commented 5 days ago

Not needed anymore.