반응형

What is an Interface

An Interface is an abstract type that specifies fields that should be implemented in similar object types. When another type implements the interface, it needs to include all the fields from the interface and may add its own fields. It acts like a virtual function in C++.

useful link: https://graphqlmastery.com/blog/graphql-interfaces-and-unions-how-to-design-graphql-schema

반응형

'프론트엔드' 카테고리의 다른 글

7. GraphQL Subscription  (0) 2019.12.26
6. GraphQL Mutations  (0) 2019.12.26
4. GraphQL Union  (0) 2019.12.26
3. GraphQL Fragments  (0) 2019.12.26
2. GraphQL Query  (0) 2019.12.26
블로그 이미지

개발자_무형

,