We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
books
Hey! Awesome tutorial and loving this.
Just a question and probably a suggestion.
graphql-playlist/server/models/author.js
Lines 4 to 7 in 7a11b2b
For clarity purpose, any reason books is not part of Author model? Since, books can be part of the graphql query.
Author
e.g.
const authorSchema = new Schema({ name: String, age: Number, books: Array });
GQL query
{ author(id: "cdf0506f8f561f87c1d8d140") { name books { name } } }
The text was updated successfully, but these errors were encountered:
Let me know if this is reasonable and i'll send PR :)
Sorry, something went wrong.
No branches or pull requests
Hey! Awesome tutorial and loving this.
Just a question and probably a suggestion.
graphql-playlist/server/models/author.js
Lines 4 to 7 in 7a11b2b
For clarity purpose, any reason
books
is not part ofAuthor
model? Since,books
can be part of the graphql query.e.g.
GQL query
The text was updated successfully, but these errors were encountered: