ash_graphql v0.10.0 AshGraphql.Dataloader View Source

The dataloader in charge of resolving

Link to this section Summary

Functions

Create an Ash Dataloader source. This module handles retrieving data from Ash for dataloader. It requires a valid Ash API.

Link to this section Types

Specs

api_opts() :: Keyword.t()

Specs

batch_fun() ::
  (Ash.resource(), Ash.query(), any(), [any()], api_opts() -> [any()])

Specs

t() :: %AshGraphql.Dataloader{
  api: Ash.api(),
  batches: map(),
  default_params: map(),
  results: map()
}

Link to this section Functions

Specs

new(Ash.api()) :: t()

Create an Ash Dataloader source. This module handles retrieving data from Ash for dataloader. It requires a valid Ash API.