Xema.Loader behaviour (xema v0.13.6) View Source

The behaviour for loaders.

For the loader configuration see "Configure a loader".

Link to this section Summary

Callbacks

This function expected an URI, to fetch the required data to create a schema.

Link to this section Functions

Link to this section Callbacks

Specs

fetch(uri :: URI.t()) :: {:ok, any()} | {:error, any()}

This function expected an URI, to fetch the required data to create a schema.