Interface DocumentTypeValidator

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

Methods

Methods

  • Parameters

    • parts: {
          document: Document;
          graphqlSchema: GraphQLSchema;
          store: DocumentStore<string>;
          type: GraphQLObjectType<any, any>;
      }
      • document: Document
      • graphqlSchema: GraphQLSchema
      • store: DocumentStore<string>
      • type: GraphQLObjectType<any, any>

    Returns void