common_graphql_client v0.3.3 CommonGraphQLClient.ClientBehaviour behaviour View Source

Link to this section Summary

Link to this section Callbacks

Link to this callback

get(atom, integer) View Source
get(atom(), integer()) :: {:ok, any()} | {:error, any()}

Link to this callback

get!(atom, integer) View Source
get!(atom(), integer()) :: any() | no_return()

Link to this callback

get_by(atom, map) View Source
get_by(atom(), map()) :: {:ok, any()} | {:error, any()}

Link to this callback

get_by!(atom, map) View Source
get_by!(atom(), map()) :: any() | no_return()

Link to this callback

list(atom) View Source
list(atom()) :: {:ok, any()} | {:error, any()}

Link to this callback

list_by(atom, map) View Source
list_by(atom(), map()) :: {:ok, any()} | {:error, any()}

Link to this callback

list_by!(atom, map) View Source
list_by!(atom(), map()) :: any() | no_return()

Link to this callback

subscribe_to(atom, any) View Source
subscribe_to(atom(), any()) :: any() | no_return()