Skip to content

Commit ecbd566

Browse files
magicmarkbenjie
andauthored
Update src/utilities/resolveSchemaCoordinate.ts
Co-authored-by: Benjie <[email protected]>
1 parent 880ec41 commit ecbd566

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utilities/resolveSchemaCoordinate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ function resolveArgumentCoordinate(
285285
// Assert {field} must exist.
286286
if (field == null) {
287287
throw new Error(
288-
`Expected ${inspect(fieldName)} to exist as an argument of type ${inspect(typeName)} in the schema.`,
288+
`Expected ${inspect(fieldName)} to exist as a field of type ${inspect(typeName)} in the schema.`,
289289
);
290290
}
291291

0 commit comments

Comments
 (0)