リレーションシップクエリを試す
作成されたリレーションシップ用のGraphQL APIを見ていきましょう。
query {todos {idtitleuser {idname}}}
以下の形式で応答を確認できます。
ご覧の通り、同じ応答でクエリしたとおりにユーザー情報の結果が得られます。これは、1対1のクエリ/オブジェクトリレーションシップの一例です。
Did you find this page helpful?
Start with GraphQL on Hasura for Free
Build apps and APIs 10x faster
Built-in authorization and caching
8x more performant than hand-rolled APIs

