ObjectTypeOptions


interface ObjectTypeOptions {
  description?: string
  isAbstract?: boolean
  implements?: Function | Function[] | (() => Function | Function[])
  inheritDescription?: boolean
}

Properties

Property Description
description?: string

Description of the input type.

isAbstract?: boolean

If true, type will not be registered in the schema.

implements?: Function | Function[] | (() => Function | Function[])

Interfaces implemented by this object type.

inheritDescription?: boolean

If true, direct descendant classes will inherit the parent's description if own description is not set. Also works on classes marked with isAbstract: true.