API Reference AbsintheProjector v#0.1.0

Copy Markdown View Source

Modules

Absinthe middleware that projects an incoming query's selection set into an exact Repo.preload/2 tree.

Turns a projected GraphQL selection set into an exact Repo.preload/2 tree.

Walks a projected GraphQL selection down a pagination-envelope key path, returning the innermost selection that AbsintheProjector.Engine should project against the declared :schema.

Discovers the associations of an Ecto schema through Ecto's compile-time reflection API — never a hand-maintained whitelist.

Metadata for a single Ecto association discovered via reflection.