Skip to content

Commit 9c9d731

Browse files
committed
QueryExpander include fixed
1 parent b8c846c commit 9c9d731

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/query/expander/QueryExpander.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export class QueryExpander {
8686
const { relation } = mp;
8787
const { relatedTypeClass: propertyType } = relation;
8888

89-
const query = this.context.filteredQuery(propertyType, "include", false, model, p.value);
89+
const query = this.context.filteredQuery(propertyType, "include", false, model.typeClass, p.value);
9090
// if (this.filter) {
9191
// const events = this.context.eventsFor(propertyType, false);
9292
// if (events) {

0 commit comments

Comments
 (0)