graphql-paper
    Preparing search index...

    Interface FieldValidator

    interface FieldValidator {
        skipConnectionValue: boolean;
        skipNullValue: boolean;
        validate(
            parts: {
                document: Document;
                field: GraphQLField<any, any>;
                fieldConnections: Connections | undefined;
                fieldName: string;
                fieldValue: any;
                graphqlSchema: GraphQLSchema;
                store: DocumentStore;
                type: GraphQLObjectType<any>;
            },
        ): void;
    }
    Index

    Properties

    skipConnectionValue: boolean

    Skip when the field is represented by a connected value on the document

    skipNullValue: boolean

    Skip when the field is represented by a null or undefined value on the document

    Methods

    • Parameters

      • parts: {
            document: Document;
            field: GraphQLField<any, any>;
            fieldConnections: Connections | undefined;
            fieldName: string;
            fieldValue: any;
            graphqlSchema: GraphQLSchema;
            store: DocumentStore;
            type: GraphQLObjectType<any>;
        }

      Returns void