Part 10 - Final part of the Django Relay series
This is the final part in this series
After part 9, I’ve a realized we’ve established a solid foundation for our GraphiQL backend. Further changes in the backend to support the rest of the official Relay tutorial will just follow the same pattern we have set up so far in this series. Therefore instead of creating a new post for each subsequent chapter in the tutorial, I will document all server side changes needed in this post to round up the series
- Refetchable Fragments
- Implements
viewer
root field: https://github.com/tuan/newsfeed-demo-app/commit/ce5881274c4125288b7f50056e3ae8a1a360c47f
- Implements
- Connections & Pagination
- Implements comments connection: https://github.com/tuan/newsfeed-demo-app/commit/43f13e4828a65c47bea58047767dbdb62a2fe20a
- Implements
newsfeedStories
root field: https://github.com/tuan/newsfeed-demo-app/commit/c3f88f89b27163adcfd2c16e3701867e3070f7a0
- Mutations & Updates
- Implements
likeStory
mutation: https://github.com/tuan/newsfeed-demo-app/commit/5540be6f8a7c896f23021714f86017c13da741a9 - Implements
postStoryComment
mutation: https://github.com/tuan/newsfeed-demo-app/commit/cc711f4167f565ad05f37f5808d09f12884b63f9
- Implements
For client side changes, please refer to this public repo: https://github.com/tuan/newsfeed-demo-app