Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface FieldValidator

Hierarchy

  • FieldValidator

Index

Properties

skipConnectionValue

skipConnectionValue: boolean

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

skipNullValue

skipNullValue: boolean

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

Methods

validate

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

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

    Returns void

Generated using TypeDoc