Constructors
constructor
- new SchemaIntrospector(adminServerSchema): SchemaIntrospector
-
Methods
asOptionalField
- asOptionalField(typeName, fieldName): string
-
Parameters
-
typeName: string | string[]
-
fieldName: string
Returns string
isTypeDefined
- isTypeDefined(typeName): boolean
-
Returns boolean
queryTypeDefined
- queryTypeDefined(queryType): boolean
-
Returns boolean
typeHasField
- typeHasField(typeName, fieldName): boolean
-
Parameters
-
typeName: string
-
fieldName: string
Returns boolean
typeHasInputField
- typeHasInputField(typeName, fieldName): boolean
-
Parameters
-
typeName: string
-
fieldName: string
Returns boolean