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:

  1. 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.