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

The behaviour for loaders.

For the loader configuration see "Configure a loader".

Summary

Callbacks

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

Callbacks

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

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

Functions