View Source AbsintheQueryAll.Query.Types (absinthe_query_all v0.5.0)
Functions for getting detailed information about specific operations and the way their data is structured.
Summary
Types
@type data_structure() ::
:non_nullable_list_of_non_nullables
| :nullable_list_of_non_nullables
| :non_nullable_list_of_nullables
| :nullable_list_of_nullables
| :non_nullable_type
| :nullable_type
@type details() :: %{ type_name: atom(), type_category: atom(), data_structure: data_structure() }
@type type_data() :: %{ name: atom(), description: binary() | nil, enumValues: [enum_value()] | nil, fields: [] | nil, inputFields: [] | nil, interfaces: [] | nil, kind: atom() | nil, possibleTypes: [AbsintheQueryAll.Query.TypeLayers.type_layer()] | nil }
Functions
@spec fields_for(atom(), [{:available_types, [type_data()]}]) :: [ AbsintheQueryAll.Query.Fields.field() ]
@spec for_operation(AbsintheQueryAll.Query.Operations.operation_type()) :: atom()