significa / absinthe_utils

A collection of utilities for absinthe (Elixir's GraphQL library).

Home Page:https://hexdocs.pm/absinthe_utils

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Absinthe Utils

Collection of utilities for absinthe.

absinthe_utils in hex.pm absinthe_utils documentation

Installation

Available in Hex, the package can be installed by adding absinthe_utils to your list of dependencies in mix.exs:

def deps do
  [
    # Check the releases page for the desired version (and use sigils accordingly, ex: "~>").
    {:absinthe_utils, ">= 0.0.0"}
  ]
end

Documentation can be found in HexDocs.

Main features

  • AbsintheUtils.Middleware.ArgLoader: Middleware for loading entities in field arguments.
  • AbsintheUtils.Middleware.DeprecatedArgs: Middleware for handling deprecated or renamed field arguments (arg).
  • AbsintheUtils.Scalars.JSON: JSON scalar.
  • AbsintheUtils.Scalars.UUID: UUID scalar.

About

A collection of utilities for absinthe (Elixir's GraphQL library).

https://hexdocs.pm/absinthe_utils

License:MIT License


Languages

Language:Elixir 99.7%Language:Dockerfile 0.3%