Open
Description
I need to understand why using the db.js
example file from Readme it doesn't generate the input PostInput
or input UserInput
or input CommentInput
.
Example:
I think it is better to use something like this:
createPost(id: ID!, input: PostInput!): Post
instead of what is now generated:
createPost(id: ID!, title: String!, views: Int!, user_id: ID!): Post
.
Am I wrong? I'm still learning... I'm asking for hints. Thanks.