Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const schema = buildSchema(`
- type Query {
- message: String
- course(id: Int!) : Course
- }
- type Course {
- id: Int
- title: String
- author: String
- topic: String
- }
- `);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement