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.
I need to understand why using the
db.jsexample file from Readme it doesn't generate theinput PostInputorinput UserInputorinput CommentInput.Example:
I think it is better to use something like this:
createPost(id: ID!, input: PostInput!): Postinstead 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.