Skip to content

Error while define input types for action #6109

Discussion options

You must be logged in to vote

The new type definition should use input rather than type. You use type when defining the output from the action ie User. The following is what you want for the input type definition. You will need to define your output type structure as well.

input UserInput {
firstName: String!
lastName: String!
birthDate: timetz!
}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by niekcandaele
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants