Skip to content

arjan/absinthe_dsl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Absinthe DSL

Warning: experimental code! Not all features might work.

This library allows you to write GraphQL queries using Elixir constructs. This has 2 upsides:

  • Queries are checked on compile-time, against an existing Absinthe schema;
  • Tool support is better: identation of the queries works because it uses normal Elixi syntax.

Installation

If available in Hex, the package can be installed by adding absinthe_dsl to your list of dependencies in mix.exs:

def deps do
  [{:absinthe_dsl, "~> 0.1.0"}]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/absinthe_dsl.

About

Elixir DSL for constructing GraphQL queries

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages