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

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 Callbacks

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

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

Link to this section Functions