suapapa
07/10/2020, 8:05 AMtype Author {
id: Int!
firstName: String
lastName: String
"""
the list of Posts by this author
"""
posts: [Post]
}
type Post {
id: Int!
title: String
author: Author
votes: Int
}
# the schema allows the following query:
type Query {
posts: [Post]
author(id: Int!): Author
}
{posts{author{posts{author{posts{...}}}}}}
이렇게 빙빙 돌게 쿼리를 할 수 있을 것 같은데. 문제가 없는걸까요?
취미 서버 프로젝트에 써 보려고 GraphQL 스키마를 배우고 있는데, 사용해 본 경험조차 없으니 영 감이 없네요. 우선 사용을 좀 해 보는게 좋을 것 같은데 GraphiQL 같은 playground가 제공되는 유명한 -하지만 간단하면 더 좋아요- 서비스도 추천해 주시면 감사하겠습니다.Hyeseong Kim
07/10/2020, 8:30 AMsuapapa
07/10/2020, 8:41 AMHyeseong Kim
07/10/2020, 8:52 AMHyeseong Kim
07/10/2020, 8:53 AMHyeseong Kim
07/10/2020, 8:53 AMsuapapa
07/10/2020, 9:05 AMHyeseong Kim
07/10/2020, 9:06 AMHyeseong Kim
07/10/2020, 9:07 AMHyeseong Kim
07/10/2020, 9:08 AMgatsby/graphql
-> graphql
suapapa
07/10/2020, 9:12 AMTony Won