mirror of
https://github.com/vale981/apollo-server
synced 2025-03-05 17:51:40 -05:00
Fixed Wrong Header at unions-interfaces (#1425)
Fixed header at L#78 from `Intersection` to `Interface`
This commit is contained in:
parent
4f28b14745
commit
a700a3350b
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ A possible query for these result could appear as follows. This query demonstrat
|
|||
}
|
||||
```
|
||||
|
||||
## Intersection type
|
||||
## Interface type
|
||||
|
||||
An `Interface` type provides the ability to describe fields that are shared across different types. It is best used to show that all types implementing an interface always contain the interface's fields. In other words, it is the semantic opposite of a union. For example, in this example `Vehicle` interface type is used by members `Airplane` and `Car`:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue