8000 Update lib/schema-builder/errors/cannot-determine-input-type.error.ts · nestjs/graphql@173df65 · GitHub
[go: up one dir, main page]

Skip to content

Commit 173df65

Browse files
Update lib/schema-builder/errors/cannot-determine-input-type.error.ts
1 parent 7e9f3ee commit 173df65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/schema-builder/errors/cannot-determine-input-type.error.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export class CannotDetermineInputTypeError extends Error {
44
constructor(hostType: string, typeRef?: GqlTypeReference) {
55
const inputObjectName: string | false = typeof typeRef === 'function' && typeRef.name;
66
super(
7-
`Cannot determine a GraphQL input type for the "${hostType}"${inputObjectName ? `, on "${inputObjectName}` : null}". Make sure your class is decorated with an appropriate decorator.`,
7+
`Cannot determine a GraphQL input type ${inputObjectName ? `("${inputObjectName}") ` : null}for the "${hostType}". Make sure your class is decorated with an appropriate decorator.`,
88
);
99
}
1010
}

0 commit comments

Comments
 (0)
0