Skip to content

Commit

Permalink
fix encapsulation test
Browse files Browse the repository at this point in the history
  • Loading branch information
runspired committed Jul 27, 2022
1 parent 8a5a1b3 commit e9fe99f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/store/addon/-private/core-store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,10 @@ class Store extends Service {
}
}

assert(
`No model was found for '${modelName}' and no schema handles the type`,
this.getSchemaDefinitionService().doesTypeExist(modelName)
);
return getShimClass(this, modelName);
}

Expand Down

0 comments on commit e9fe99f

Please sign in to comment.