Worked on the schema code

This commit is contained in:
2020-09-05 00:05:56 +10:00
parent e9655f1055
commit 7fa4c56bcc
6 changed files with 43 additions and 31 deletions

View File

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