Remove unnecessary files.
This commit is contained in:
parent
f530e90d27
commit
e0176b2cf8
|
@ -1,28 +0,0 @@
|
||||||
# GraphQL schema example
|
|
||||||
#
|
|
||||||
# https://gqlgen.com/getting-started/
|
|
||||||
|
|
||||||
type Todo {
|
|
||||||
id: ID!
|
|
||||||
text: String!
|
|
||||||
done: Boolean!
|
|
||||||
user: User!
|
|
||||||
}
|
|
||||||
|
|
||||||
type User {
|
|
||||||
id: ID!
|
|
||||||
name: String!
|
|
||||||
}
|
|
||||||
|
|
||||||
type Query {
|
|
||||||
todos: [Todo!]!
|
|
||||||
}
|
|
||||||
|
|
||||||
input NewTodo {
|
|
||||||
text: String!
|
|
||||||
userId: String!
|
|
||||||
}
|
|
||||||
|
|
||||||
type Mutation {
|
|
||||||
createTodo(input: NewTodo!): Todo!
|
|
||||||
}
|
|
Loading…
Reference in New Issue