We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0209d16 commit 91be56dCopy full SHA for 91be56d
packages/runtime/src/client/executor/name-mapper.ts
@@ -235,7 +235,8 @@ export class QueryNameMapper extends OperationNodeTransformer {
235
}
236
237
private resolveFieldFromScopes(name: string, qualifier?: string) {
238
- for (const scope of this.scopes.toReversed()) {
+ for (let i = this.scopes.length - 1; i >= 0; i--) {
239
+ const scope = this.scopes[i]!;
240
if (qualifier) {
241
// if the field as a qualifier, the qualifier must match the scope's
242
// alias if any, or model if no alias
0 commit comments