View Source AbsintheQueryAll.Query.Argument (absinthe_query_all v0.2.2)
Code for generating a ascertaining and stringifying the arguments to a specific operation.
Summary
Types
@type arg_data() :: %{ name: atom(), data_type: atom(), data_structure: AbsintheQueryAll.Query.Type.data_structure() }
Functions
@spec build_strings(%{ :operation_type => AbsintheQueryAll.Query.Operation.t(), :operation_name => atom(), :available_types => [AbsintheQueryAll.Query.Type.t()], optional(:alias_generator) => (atom(), [arg_data()] -> any()) | nil }) :: %{ declaration: binary(), passage: binary(), operation_alias: binary() | nil }
@spec list_for_operation_field(AbsintheQueryAll.Query.Operation.t(), atom(), [ {:available_types, [AbsintheQueryAll.Query.Type.t()]} ]) :: [arg_data()]