Parsing GraphQL Mutation Arguments with Custom Scalars

Eve Porcello
InstructorEve Porcello

Share this video with your friends

Send Tweet

If you want to be able to parse and serialize custom scalar types sent as arguments, you’ll add the parseValue and parseLiteral functions to the custom scalar constructor. In this video, we’ll take a closer look at these functions and how they can be used to transform data passed by the client.