GraphQL: How to reuse same type for query and mutation?
Unfortunately, a type cannot be used in place of an input, and an input cannot be used in place of a type. This is by design. From the official specification: Fields can define arguments that the client passes up with the query, to configure their behavior. These inputs can be Strings or Enums, but they … Read more