Skip to content

Commit

Permalink
fix some of the failures
Browse files Browse the repository at this point in the history
  • Loading branch information
tgriesser committed Feb 21, 2023
1 parent 9761028 commit 50850af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/plugin-relay/src/input-field-builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ inputFieldBuilder.globalIDList = function globalIDList<Req extends FieldRequired
(Array.isArray(forTypes) ? forTypes : [forTypes])) as ObjectRef<SchemaTypes>[]
)?.map((type: ObjectRef<SchemaTypes>) => ({
typename: this.builder.configStore.getTypeConfig(type).name,
parse: type instanceof NodeRef ? type.parseId : undefined,
parseId: type instanceof NodeRef ? type.parseId : undefined,
})) ?? null,
},
}) as never;
Expand All @@ -60,7 +60,7 @@ inputFieldBuilder.globalID = function globalID<Req extends boolean>(
(Array.isArray(forTypes) ? forTypes : [forTypes])) as ObjectRef<SchemaTypes>[]
)?.map((type: ObjectRef<SchemaTypes>) => ({
typename: this.builder.configStore.getTypeConfig(type).name,
parse: type instanceof NodeRef ? type.parseId : undefined,
parseId: type instanceof NodeRef ? type.parseId : undefined,
})) ?? null,
},
}) as unknown as InputFieldRef<
Expand Down

0 comments on commit 50850af

Please sign in to comment.