Input objects

Input objects can be described as "composable objects" because they include a set of input fields that define the object.

About input objects

Input objects can be described as "composable objects" because they include a set of input fields that define the object.

For example, CommitAuthor takes a field called emails. Providing a value for emails transforms CommitAuthor into a list of User objects containing that email address. Note that objects may have input objects, whereas mutations require input objects.

For more information, see Form calls with GraphQL.

OptionalPhoneNumber

An optional phone number.

Must be a valid phone number in the format [+country-prefix]<number>.

Used on input fields that require discerning between not-updating the field value and setting the field to NULL.

Input fields for OptionalPhoneNumber

NameDescription
value (PhoneNumber)

OptionalString

An optional string.

Used on input fields that require discerning between not-updating the field value and setting the field to NULL.

Input fields for OptionalString

NameDescription
value (String)