Module graphql_schema

Behaviours: gen_server.

Function Index

all/0
code_change/3
get/1
handle_call/3
handle_cast/2
handle_info/2
id/1
init/1
insert/1
insert/2
load/1
load_schema/1
lookup/1
lookup_interface_implementors/1
reset/0
resolve_root_type/2
start_link/0
terminate/2
validate_enum/2

Function Details

all/0

all() -> [any()]

code_change/3

code_change(OldVsn::term(), S, Aux::term()) -> {ok, S}

get/1

get(ID::binary() | 'ROOT') -> schema_object()

handle_call/3

handle_call(M, From::any(), S) -> {reply, term(), S}

handle_cast/2

handle_cast(Msg::any(), S) -> {noreply, S}

handle_info/2

handle_info(Msg::term(), S) -> {noreply, S}

id/1

id(Root_schema) -> any()

init/1

init(X1::[]) -> {ok, #state{}}

insert/1

insert(S::any()) -> ok

insert/2

insert(S::any(), X2::any()) -> ok | {error, Reason::term()}

load/1

load(S::any()) -> ok | {error, Reason}

load_schema/1

load_schema(Root_schema::#root_schema{}) -> ok

lookup/1

lookup(ID::binary() | 'ROOT') -> schema_object() | not_found

lookup_interface_implementors/1

lookup_interface_implementors(IFaceID::binary()) -> [binary()]

reset/0

reset() -> ok

resolve_root_type/2

resolve_root_type(X1::undefined | operation_type(), Root_schema::root_schema()) -> undefined | binary()

start_link/0

start_link() -> any()

terminate/2

terminate(X1::any(), X2::any()) -> any()

validate_enum/2

validate_enum(EnumID::binary(), EnumValue::binary()) -> ok | not_found | {other_enums, [#enum_type{}]}


Generated by EDoc