Closed ysugimoto closed 3 years ago
This PR supports Google's ptype on Mutation output. In many cases, mutation request does not need any response, for example,
service Example { rpc Create(CreateRequest) returns (google.protobuf.Empty) { option (graphql.schema) = { type: MUTATION, name: "create" }; } }
type Mutation { create(input: InputObject!) Google_type_Empty! }
Its use case is put some data and does not need response data and then we can use google.protobuf.Empty for reducing response body.
google.protobuf.Empty
This PR supports Google's ptype on Mutation output. In many cases, mutation request does not need any response, for example,
protocolbuffers
Graphql Schema
Its use case is put some data and does not need response data and then we can use
google.protobuf.Empty
for reducing response body.