query BookQuery($bookId: ID) { book (id: $bookId) { id title author { id name } } } type Book { id: ID! title: String! author: Author! } type Author { id: ID! name: String } type Query { book(id: ID!): Book }
の仕様が定めている挙動 https://spec.graphql.org/September2025/#sec-Handling-Execution-Errors Since Non-Null response positions cannot be null, execution errors are propagated to be handled by the parent response position. If the parent response position may be null then it resolves to null, otherwise if it is a Non-Null type, the execution error is further propagated to its parent response position.