View Source AbsintheQueryAll.Query.Field (absinthe_query_all v0.2.0)

Summary

Types

@type t() :: %{
  args: [],
  deprecationReason: binary() | nil,
  description: binary() | nil,
  isDeprecated: boolean(),
  name: atom(),
  type: AbsintheQueryAll.Query.TypeLayer.t()
}

Functions

Link to this function

query_string(field, available_types, opts \\ %{})

View Source
@spec query_string(
  AbsintheQueryAll.Query.Type.t(),
  [AbsintheQueryAll.Query.Type.t()],
  %{
    optional(:requested_fields) => [atom()],
    optional(:leaf_alias_generator) => (atom(),
                                        AbsintheQueryAll.Query.Type.details() ->
                                          any()),
    optional(any()) => any()
  }
) :: binary()