Moving On

Although it’s been a relatively simple system that we’ve built here, we’ve successfully built a basic menu and ordering application that provides flexible querying and near real-time data capabilities. More importantly, you learned about the significance of meaningful events in a system that supports subscriptions; GraphQL is able to naturally expose those events in a way that’s in harmony with the way query and mutation operations are handled.

Here are a couple of ways to play around with subscriptions further:

  1. Refactor the :place_order subscription to use the trigger macro.
  2. Open GraphiQL in multiple browser windows and play around with subscribing to the same or different fields. Trigger values in your console and see them show up in real time.

In Part II of this book, we’re going to cover some Absinthe-specific tools that you’ll want to use as you take your application from the safe confines of your laptop to the real world. They’ll help you control security, scalability, and maintainability concerns that are key to any production system.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.144.232.189