The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

Create an Input Object Type for Complex Mutations

Create an Input Object Type for Complex Mutations

2:29
When we have certain mutations that require more complex input parameters, we can leverage the Input Object Type in GraphQL. In this video, we’ll learn how to create an Input Object Type and how to add it to a GraphQL Mutation Type.
Watch this lesson now
Avatar
egghead.io

When we have certain mutations that require more complex input parameters, we can leverage the Input Object Type in GraphQL. In this video, we’ll learn how to create an Input Object Type and how to add it to a GraphQL Mutation Type.

Avatar
Vadim

Hey, Josh! Nice course, thanks a lot, I appreciate it and enjoy.

I have a little misunderstanding with mutationType in args.

Why we use prop video in args of createVideo mutation, is there any way to avoid typing video every mutation, because we will not have other fields here I suppose?

In reply to egghead.io
HEY, QUICK QUESTION!
Joel's Head
Why are we asking?