1 | import { deprecate } from '@ember/debug';
|
2 | function initializeStore(application) {
|
3 | application.registerOptionsForType('serializer', {
|
4 | singleton: false
|
5 | });
|
6 | application.registerOptionsForType('adapter', {
|
7 | singleton: false
|
8 | });
|
9 | }
|
10 | function setupContainer(application) {
|
11 | initializeStore(application);
|
12 | }
|
13 | deprecate('Importing from `ember-data/setup-container` is deprecated without replacement', false, {
|
14 | id: 'ember-data:deprecate-legacy-imports',
|
15 | for: 'ember-data',
|
16 | until: '6.0',
|
17 | since: {
|
18 | enabled: '5.2',
|
19 | available: '5.2'
|
20 | }
|
21 | });
|
22 | export { setupContainer as default }; |
\ | No newline at end of file |