1
0
mirror of synced 2026-01-02 12:04:38 -05:00
Files
docs/content/graphql/reference/interfaces.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
897 B
Markdown

---
title: Interfaces
intro: Interfaces serve as parent objects from which other objects can inherit.
redirect_from:
- /v4/interface
- /v4/reference/interface
versions:
fpt: '*'
ghec: '*'
ghes: '*'
ghae: '*'
topics:
- API
autogenerated: graphql
---
## 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 "[AUTOTITLE](/graphql/guides/introduction-to-graphql#implementation)."
<!-- Content after this section is automatically generated -->