-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
Copy pathbuilders.ts
17 lines (13 loc) · 893 Bytes
/
builders.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/**
Builders for migrating from `store` methods to `store.request`.
These builders enable you to migrate your codebase to using the correct syntax for `store.request` while temporarily preserving legacy behaviors.
This is useful for quickly upgrading an entire app to a unified syntax while a longer incremental migration is made to shift off of adapters and serializers.
To that end, these builders are deprecated and will be removed in a future version of Ember Data.
@module @ember-data/legacy-compat/builders
@main @ember-data/legacy-compat/builders
@deprecated
*/
export { findAllBuilder as findAll } from './builders/find-all';
export { findRecordBuilder as findRecord } from './builders/find-record';
export { queryBuilder as query, queryRecordBuilder as queryRecord } from './builders/query';
export { saveRecordBuilder as saveRecord } from './builders/save-record';