mirror of
https://github.com/Ratstail91/sineQL.git
synced 2025-11-29 02:34:28 +11:00
Moved to using a real database ORM for testing
This commit is contained in:
15
test/handlers/schema.js
Normal file
15
test/handlers/schema.js
Normal file
@@ -0,0 +1,15 @@
|
||||
//the matching schema
|
||||
module.exports = `
|
||||
scalar Date
|
||||
|
||||
type Book {
|
||||
String title
|
||||
Date published
|
||||
Float rating
|
||||
}
|
||||
|
||||
type Author {
|
||||
String name
|
||||
Book books
|
||||
}
|
||||
`;
|
||||
Reference in New Issue
Block a user