Wrap GraphQL Mutation Arguments with a GraphQL Input Type

InstructorEve Porcello

Share this video with your friends

Send Tweet

When passing arguments to a GraphQL mutation, you can send them inline, or you can wrap them in an input type. In this lesson, we’ll create an input type for the addDay mutation which will allow us to pass an entire object as an argument.