(context, node)
| 6646 | } |
| 6647 | } |
| 6648 | function validateName(context, node) { |
| 6649 | if (node.name.startsWith("__")) { |
| 6650 | context.reportError( |
| 6651 | `Name "${node.name}" must not begin with "__", which is reserved by GraphQL introspection.`, |
| 6652 | node.astNode |
| 6653 | ); |
| 6654 | } |
| 6655 | } |
| 6656 | function validateTypes(context) { |
| 6657 | const validateInputObjectCircularRefs = createInputObjectCircularRefsValidator(context); |
| 6658 | const typeMap = context.schema.getTypeMap(); |
no test coverage detected