Slide 16
Slide 16 text
GraphQLはクライアント中心の
API
As we saw in the introduction, GraphQL is a client-centric API. This philosophy
affects how we should design our GraphQL APIs too. While it's tempting to be
designing APIs in terms of backend resources or entities, it's very important to design
GraphQL APIs with client use cases in mind first, before anything else.
(序章で見たように、
)GraphQLはクライアント中心の
APIである。この哲学は私たちが
GraphQL APIをどのように設計すべきかにも影響を与える。
APIの設計はバックエンドのリソ
ースやエンティティを元に実装される誘惑に駆られるが、最初に
GraphQL APIクライアント
のユースケースを考慮して設計することが重要である。
Production Ready GraphQL (P.24 GraphQL Schema Design: Client first) - Marc-André
Giroux