xema v0.6.1 Xema.Resolver behaviour View Source

The behaviour for resolvers.

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

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.