Skip to content

Input Objects

An GraphQL Input Object defines a set of input fields; the input fields are either scalars, enums, or other input objects. Like Object and Interface types, Input Object types are inferred from defined operations, but can be explicitly declared as well.

inputType

inputType method can be used only to set description property and explicitly define type.