Search⌘ K
AI Features

Schema Organization

Explore how to efficiently organize GraphQL schemas in Absinthe by splitting types into modules and using import_types and import_fields macros. Understand schema compilation, module management, and best practices for maintaining scalable GraphQL schemas in Elixir.

We'll cover the following...

Organising a schema

Absinthe schemas are compiled. This means that their types are collected, references are resolved, and the overall structure of the schema is verified against a set of rules. All this happens during Elixir’s module compilation ...