View Source AbsintheQueryAll.Query.Argument (absinthe_query_all v0.1.1)

Summary

Types

@type arg_data() :: %{
  name: atom(),
  data_type: atom(),
  data_structure: AbsintheQueryAll.Query.Type.data_structure()
}

Functions

Link to this function

build_strings(operation_type, operation_name, list)

View Source
@spec build_strings(AbsintheQueryAll.Query.Operation.t(), atom(), [
  {:available_types, [AbsintheQueryAll.Query.Type.t()]}
]) :: %{declaration: binary(), passage: binary()}
Link to this function

list_for_operation_field(operation_type, operation_name, list)

View Source
@spec list_for_operation_field(AbsintheQueryAll.Query.Operation.t(), atom(), [
  {:available_types, [AbsintheQueryAll.Query.Type.t()]}
]) :: [arg_data()]