Skip to content

Commit 98a4303

Browse files
committed
Fix deprecated hasMany and belongsTo imports from miragejs
1 parent b7fad5b commit 98a4303

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

addon/index.js

+6-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,12 @@ import { deprecateImport } from './deprecate-imports';
99
import { initDeprecatedReExports } from './deprecate-reexports';
1010
initDeprecatedReExports();
1111

12-
import { Factory, Response, HasMany, BelongsTo } from 'miragejs';
12+
import {
13+
Factory,
14+
Response,
15+
_ormAssociationsHasMany as HasMany,
16+
_ormAssociationsBelongsTo as BelongsTo,
17+
} from 'miragejs';
1318

1419
const DeprecatedFactory = function (...args) {
1520
deprecateImport('Factory');

0 commit comments

Comments
 (0)