Enabling Relay-Style Mutations and Pagination

1 · Daniel Doubrovkine (dB.) @dblockdotorg · Aug. 3, 2018, midnight
In the previous post I wired up a React Native client to a Rails API GraphQL server. In this post I’ll enable adding, removing and retrieving paginated data. Data Models The root of all my GraphQL queries are now a user and a user has a number of meetings. A user can sign-up, then meetings can be created or destroyed via mutations. See 33-minutes-server@838200 for implementation details. Relay-Style Mutations Relay has a specified add/remove behavior via RANGE_ADD and NODE_DELETE. RANGE_ADD To e...