Fix performance (#7131)
This commit is contained in:
@ -40,11 +40,11 @@ export class GraphqlQueryParser {
|
||||
|
||||
const parsedFilter = graphqlQueryFilterParser.parse(recordFilter);
|
||||
|
||||
if (!('deletedAt' in this.fieldMetadataMap)) {
|
||||
return parsedFilter;
|
||||
}
|
||||
// if (!('deletedAt' in this.fieldMetadataMap)) {
|
||||
return parsedFilter;
|
||||
// }
|
||||
|
||||
return this.addDefaultSoftDeleteCondition(parsedFilter);
|
||||
// return this.addDefaultSoftDeleteCondition(parsedFilter);
|
||||
}
|
||||
|
||||
private addDefaultSoftDeleteCondition(
|
||||
|
||||
@ -65,6 +65,7 @@ export class GraphqlQueryFindOneResolverService {
|
||||
where,
|
||||
select,
|
||||
})) as ObjectRecord;
|
||||
|
||||
const limit = QUERY_MAX_RECORDS;
|
||||
|
||||
if (!objectRecord) {
|
||||
|
||||
Reference in New Issue
Block a user