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