Chooce video playback speed
speed:1

Remove Items from an Array with a GraphQL Mutation

InstructorEve Porcello

Share this video with your friends

Send Tweet

GraphQL mutations are used to change data and can be also used to delete data. In this lesson, we’ll make changes to the removeDay mutation to delete a day from the ski days array by id. Additionally, we’ll return a custom type when we send the mutation.

This lesson is a Community Resource

A Community Resource means that it’s free to access for all. The instructor of this lesson requested it to be open to the public.