# `TypedGql.Generation.Context`
[🔗](https://github.com/fahchen/typed_gql/blob/v0.11.0/lib/typed_gql/generation/context.ex#L1)

Read-only context passed to `TypedGql.Generation.Plugin` callbacks.

Carries the schema and compile-time options the engine has available
at every pipeline juncture. Per-node information (parent type, target
module) lives on `TypedGql.Generation.Schema` nodes, not here.

# `t`

```elixir
@type t() :: %TypedGql.Generation.Context{
  fragments: %{required(String.t()) =&gt; map()},
  scalar_types: %{required(String.t()) =&gt; module()},
  schema: TypedGql.Schema.t()
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
