Added unique keyword

This commit is contained in:
2021-04-06 09:06:52 +10:00
parent f4b330eac3
commit 972866a704
7 changed files with 37 additions and 15 deletions

View File

@@ -3,13 +3,13 @@ module.exports = `
scalar Date
type Book {
String title
unique String title
Date published
Float rating
}
type Author {
String name
unique String name
Book books
}
`;