Interface DocumentTypeValidator
interface DocumentTypeValidator { validate(parts: { document: Document; graphqlSchema: GraphQLSchema; store: DocumentStore<string>; type: GraphQLObjectType<any, any>; }): void; } Methods
validate
- validate(parts): void
Parameters
- parts: {
document: Document;
graphqlSchema: GraphQLSchema;
store: DocumentStore<string>;
type: GraphQLObjectType<any, any>;
}graphqlSchema: GraphQLSchema
type: GraphQLObjectType<any, any>
Returns void