/graphql

Elixir graphql library

Primary LanguageElixirApache License 2.0Apache-2.0

Graphql Build Status Coverage Status

A tool to compile graphql queries into native Elixir.

The goal is for people to define their schemas in Elixir with callbacks while the library handles the asynchronous requests, composing the results together, and sending a reply to the query. It would be a great benefit to have a babeljs plugin be able to replace graphql es6-templated strings and leave behind a cryptographic checksum of the query, and then compile that those queries on the server.

For right now, this project focuses mainly on getting the very basics up and running.

References

Specification: http://facebook.github.io/graphql/

Reference Implementation: https://github.com/graphql/graphql-js/

Status

Sections from the RFC for the parser that are complete.

  • 8. Grammar
    • 8.1 Tokens
      • 8.1.1 Ignored Source
    • 8.2 Syntax
      • 8.2.1 Document
      • 8.2.2 Operations
      • 8.2.3 Fragments
      • 8.2.4 Values
        • 8.2.4.1 Array Value
        • 8.2.4.2 Object Value
      • 8.2.5 Directives
      • 8.2.6 Types