Grax.Id.Schema (Grax v0.3.0) View Source

Link to this section Summary

Link to this section Types

Specs

t() :: %Grax.Id.Schema{
  extensions: list() | nil,
  namespace: Grax.Id.Namespace.t(),
  schema: module() | [module()],
  selector: {module(), atom()} | nil,
  template: template(),
  var_mapping: {module(), atom()} | nil
}

Specs

template() :: struct()

Link to this section Functions

Link to this function

expand(id_schema, id_segment, opts \\ [])

View Source
Link to this function

generate_id(id_schema, variables, opts \\ [])

View Source
Link to this function

new(namespace, template, opts)

View Source
Link to this function

option(opts, key, id_schema)

View Source
Link to this function

option!(opts, key, id_schema)

View Source