View Source Grax.Id.Schema.Extension behaviour (Grax v0.5.0)
Summary
Types
Callbacks
@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()