# `AshGraphql.Plug`
[🔗](https://github.com/ash-project/ash_graphql/blob/v1.9.3/lib/plug.ex#L5)

Automatically set up the GraphQL `actor` and `tenant`.

Adding this plug to your pipeline will automatically set the `actor` and
`tenant` if they were previously put there by `Ash.PlugHelpers.set_actor/2` or
`Ash.PlugHelpers.set_tenant/2`.

# `call`

# `init`

---

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