View Source AbsintheQueryAll.Query.Operations (absinthe_query_all v0.5.0)

Functions for getting detailed information about the fields on a specific GraphQL operation.

Summary

Types

@type operation_type() :: :query | :mutation | :subscription

Functions

Link to this function

fields(operation_type, list)

View Source
@spec fields(operation_type(), [
  {:available_types, [AbsintheQueryAll.Query.Types.type_data()]}
]) :: [
  AbsintheQueryAll.Query.Fields.field()
]
Link to this function

operation_field_type_name(map, list)

View Source
@spec operation_field_type_name(
  %{
    :operation_type => operation_type(),
    :operation_name => atom(),
    optional(atom()) => any()
  },
  [{:available_types, [AbsintheQueryAll.Query.Types.type_data()]}]
) :: atom()