core: fix record stat update

This commit is contained in:
undefined committed 2024-05-29 21:59:53 +08:00
1 parent 8619261bd4
commit a7d6265f97
3 files changed
+11 -27

No files matched your search

+10
View File
@@ -200,6 +200,16 @@ class ApiService extends Service {
unions[typeName] = unionTypes.join(' | ');
this.rebuild();
}
query(query: string, args: Record<string, any>) {
return graphql({
schema,
source: query,
rootValue: root,
contextValue: this,
variableValues: args,
});
}
}
export const sideEffect = true;