mirror of
https://github.com/ash-project/ash_graphql.git
synced 2024-09-20 05:13:33 +12:00
parent
4ff56a3c59
commit
d49fc5a488
1 changed files with 2 additions and 0 deletions
|
@ -1242,6 +1242,7 @@ defmodule AshGraphql.Graphql.Resolver do
|
||||||
tenant: Map.get(context, :tenant),
|
tenant: Map.get(context, :tenant),
|
||||||
context: get_context(context) || %{},
|
context: get_context(context) || %{},
|
||||||
authorize?: AshGraphql.Domain.Info.authorize?(domain),
|
authorize?: AshGraphql.Domain.Info.authorize?(domain),
|
||||||
|
read_action: read_action,
|
||||||
domain: domain,
|
domain: domain,
|
||||||
actor: Map.get(context, :actor),
|
actor: Map.get(context, :actor),
|
||||||
select:
|
select:
|
||||||
|
@ -1403,6 +1404,7 @@ defmodule AshGraphql.Graphql.Resolver do
|
||||||
strategy: [:atomic, :stream, :atomic_batches],
|
strategy: [:atomic, :stream, :atomic_batches],
|
||||||
allow_stream_with: :full_read,
|
allow_stream_with: :full_read,
|
||||||
return_records?: true,
|
return_records?: true,
|
||||||
|
read_action: read_action,
|
||||||
tenant: Map.get(context, :tenant),
|
tenant: Map.get(context, :tenant),
|
||||||
context: get_context(context) || %{},
|
context: get_context(context) || %{},
|
||||||
authorize?: AshGraphql.Domain.Info.authorize?(domain),
|
authorize?: AshGraphql.Domain.Info.authorize?(domain),
|
||||||
|
|
Loading…
Reference in a new issue