Created the type graph

This commit is contained in:
2020-03-03 19:31:14 +11:00
commit fa62291f51
7 changed files with 602 additions and 0 deletions

14
server/schema.js Normal file
View File

@@ -0,0 +1,14 @@
module.exports = `
scalar Date
type Book {
String title
Author author
Date published
}
type Author {
!String name
!Book[] books
}
`;