Short answer: type should be a GraphQLObjectType containing all the fields like this: type: new GraphQLObjectType({ name: 'patientQuery', ...
確定! 回上一頁