1
0
mirror of synced 2025-12-21 19:06:49 -05:00
Files
docs/content/graphql/reference/input-objects.md
Rachael Sewell 82306c2664 remove GHES 3.7 markup and static files (#48568)
Co-authored-by: Vanessa <vgrl@github.com>
Co-authored-by: Matt Pollard <mattpollard@users.noreply.github.com>
2024-01-11 19:29:02 +00:00

26 lines
1.1 KiB
Markdown

---
title: Input objects
intro: Input objects can be described as "composable objects" because they include a set of input fields that define the object.
redirect_from:
- /v4/input_object
- /v4/reference/input_object
versions:
fpt: '*'
ghec: '*'
ghes: '*'
ghae: '*'
topics:
- API
autogenerated: graphql
---
## About input objects
[Input objects](https://graphql.github.io/graphql-spec/June2018/#sec-Input-Objects) can be described as "composable objects" because they include a set of input fields that define the object.
For example, [`CommitAuthor`](/graphql/reference/input-objects#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](/graphql/reference/objects) **may** have input objects, whereas [mutations](/graphql/reference/mutations) **require** input objects.
For more information, see "[AUTOTITLE](/graphql/guides/forming-calls-with-graphql#about-mutations)."
<!-- Content after this section is automatically generated -->