1×
Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.

Autoplay

    Remove Items from an Array with a GraphQL Mutation

    apolloApollo

    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.