We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe610f1 commit 057324bCopy full SHA for 057324b
server/graphQL/typeDefs.js
@@ -4,16 +4,7 @@ const { gql } = require('apollo-server-express');
4
5
const typeDefs = gql`
6
# Comments in GraphQL strings (such as this one) start with the hash (#) symbol.
7
-
8
- # This "Book" type defines the queryable fields for every book in our data source.
9
- type Book {
10
- title: String
11
- author: Author
12
- }
13
- type Author {
14
- name: String
15
- books: [Book]
16
+
17
type Mutation {
18
addTest(name: String): Test
19
updateTest(id: String, name: String): Test
0 commit comments