We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
isModel
1 parent a1510c6 commit 5a72de0Copy full SHA for 5a72de0
1 file changed
packages/ember-cli-mirage/addon/utils/ember-data.js
@@ -11,5 +11,5 @@ export const hasEmberData =
11
@hide
12
*/
13
export function isDsModel(m) {
14
- return m && typeof m.eachRelationship === 'function';
+ return m && typeof m.eachRelationship === 'function' && m.isModel === true;
15
}
0 commit comments