pokemon example is working

This commit is contained in:
2020-09-07 14:31:17 +10:00
parent d99a99981b
commit 792ea6b23d
6 changed files with 94 additions and 105 deletions

View File

@@ -1,14 +1,18 @@
module.exports = `
scalar Date
type Book {
String title
Author author
Date published
type Pokemon {
String name
Integer height
Integer weight
Stats stats
Pokemon forms
}
type Author {
String name
Book books
type Stats {
Integer hp
Integer attack
Integer defense
Integer specialAttack
Integer specialDefense
Integer speed
}
`;