We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8c846c commit 9c9d731Copy full SHA for 9c9d731
1 file changed
src/query/expander/QueryExpander.ts
@@ -86,7 +86,7 @@ export class QueryExpander {
86
const { relation } = mp;
87
const { relatedTypeClass: propertyType } = relation;
88
89
- const query = this.context.filteredQuery(propertyType, "include", false, model, p.value);
+ const query = this.context.filteredQuery(propertyType, "include", false, model.typeClass, p.value);
90
// if (this.filter) {
91
// const events = this.context.eventsFor(propertyType, false);
92
// if (events) {
0 commit comments