View Source Grax.Id.Schema.Extension behaviour (Grax v0.3.4)

Link to this section Summary

Link to this section Types

Link to this section Callbacks

Link to this callback

call(extension, t, variables, opts)

View Source
@callback call(
  extension :: t(),
  Grax.Id.Schema.t(),
  variables :: map(),
  opts :: keyword()
) ::
  {:ok, Grax.Id.Schema.t()} | {:error, any()}
@callback init(Grax.Id.Schema.t(), opts :: keyword()) :: Grax.Id.Schema.t()

Link to this section Functions

Link to this function

extension_opt(extension, opts)

View Source
Link to this function

install(id_schema, extensions)

View Source