1
0
mirror of synced 2025-12-26 05:02:55 -05:00
Files
docs/content/graphql/reference/interfaces.md
Rachael Sewell 9a0222e353 add missing redirect frontmatter (#17042)
Co-authored-by: Sarah Schneider <sarahs@users.noreply.github.com>
2020-12-17 19:03:20 +00:00

23 lines
845 B
Markdown

---
title: Interfaces
redirect_from:
- /v4/interface
- /v4/reference/interface
versions:
free-pro-team: '*'
enterprise-server: '*'
github-ae: '*'
---
### About interfaces
[Interfaces](https://graphql.github.io/graphql-spec/June2018/#sec-Interfaces) serve as parent objects from which other objects can inherit.
For example, [`Lockable`](/graphql/reference/interfaces#lockable) is an interface because both [`Issue`](/graphql/reference/objects#issue) and [`PullRequest`](/graphql/reference/objects#pullrequest) objects can be locked. An interface has its own list of named fields that are shared by implementing objects.
For more information, see "[Implementation](/graphql/guides/introduction-to-graphql#implementation)."
{% for item in graphql.schemaForCurrentVersion.interfaces %}
{% include graphql-interface %}
{% endfor %}