Grax.Callbacks behaviour (Grax v0.3.2) View Source

Link to this section Summary

Link to this section Callbacks

Link to this callback

on_load(arg1, arg2, opts)

View Source

Specs

on_load(Grax.Schema.t(), RDF.Graph.t() | RDF.Description.t(), opts :: keyword()) ::
  {:ok, Grax.Schema.t()} | {:error, any()}
Link to this callback

on_to_rdf(arg1, arg2, opts)

View Source

Specs

on_to_rdf(Grax.Schema.t(), RDF.Graph.t(), opts :: keyword()) ::
  {:ok, RDF.Graph.t()} | {:error, any()}