xema v0.11.0 Xema.Loader behaviour 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

Link to this callback

fetch(uri)

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

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