Moving On
In this chapter, weâve looked at a wide range of topics that help make building and using a GraphQL system more flexible and humane.
Youâve learned how to break up your schema into manageable pieces using Absintheâs import_types and import_fields macros. Weâve dug deep into GraphQL unions and interfaces, and youâve discovered how abstract types can make your API more approachable and usable. Your knowledge of GraphQL document building has expanded as well, now that youâve seen fragments and understood how users can define, apply, and reuse fragments, enabling new approaches to GraphQL document authoring.
Before we head on to the next chapter, here are a few thought exercises based on the material in this chapter:
- Take a look ...
Get Craft GraphQL APIs in Elixir with Absinthe now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.