@blissfully/elm-graphql
Elm code generator for GraphQL
Last updated 2 years ago by aaronwhite .
BSD · Original npm · Tarball · package.json
$ cnpm install @blissfully/elm-graphql 
SYNC missed versions from official npm registry.

elm-graphql

elm-graphql generates Elm code for making GraphQL queries in a type-safe manner.

At compile time, elm-graphql takes GraphQL schema and named queries in a .graphql file and generates corresponding Elm types. The schema is obtained by introspection of a live GraphQL server.

elm-graphql is simply for making queries, it is not a framework like Relay but it could be the foundation other abstractions in the future.

Install

npm install -g elm-graphql

Usage

Configure the GraphQL endpoint URL. This will be saved in elm-package.json:

elm graphql --init URL

Now you can generate an Elm module for each .graphql file:

elm graphql

Example

Check out my elm-graphql-demo which provides a sample application and includes full build instructions.

How it works

See the wiki page, how elm-graphql works for more details.

Projects using elm-graphql

Current Tags

  • 1.1.52                                ...           latest (2 years ago)

57 Versions

  • 1.1.52                                ...           2 years ago
  • 1.1.51                                ...           2 years ago
  • 1.1.50                                ...           2 years ago
  • 1.1.45                                ...           3 years ago
  • 1.1.44                                ...           3 years ago
  • 1.1.43                                ...           3 years ago
  • 1.1.42                                ...           3 years ago
  • 1.1.41                                ...           3 years ago
  • 1.1.40                                ...           3 years ago
  • 1.1.39                                ...           3 years ago
  • 1.1.38                                ...           3 years ago
  • 1.1.37                                ...           3 years ago
  • 1.1.36                                ...           3 years ago
  • 1.1.35                                ...           3 years ago
  • 1.1.34                                ...           3 years ago
  • 1.1.33                                ...           3 years ago
  • 1.1.32                                ...           3 years ago
  • 1.1.31                                ...           3 years ago
  • 1.1.30                                ...           3 years ago
  • 1.1.29                                ...           3 years ago
  • 1.1.28                                ...           3 years ago
  • 1.1.27                                ...           3 years ago
  • 1.1.26                                ...           3 years ago
  • 1.1.25                                ...           3 years ago
  • 1.1.24                                ...           3 years ago
  • 1.1.23                                ...           3 years ago
  • 1.1.22                                ...           3 years ago
  • 1.1.21                                ...           3 years ago
  • 1.1.20                                ...           3 years ago
  • 1.1.19                                ...           3 years ago
  • 1.1.18                                ...           3 years ago
  • 1.1.17                                ...           3 years ago
  • 1.1.16                                ...           3 years ago
  • 1.1.15                                ...           3 years ago
  • 1.1.14                                ...           3 years ago
  • 1.0.14                                ...           3 years ago
  • 1.1.13                                ...           3 years ago
  • 1.1.12                                ...           3 years ago
  • 1.1.11                                ...           3 years ago
  • 1.1.10                                ...           3 years ago
  • 1.1.9                                ...           3 years ago
  • 1.1.8                                ...           3 years ago
  • 1.1.7                                ...           3 years ago
  • 1.1.6                                ...           3 years ago
  • 1.1.5                                ...           3 years ago
  • 1.1.4                                ...           3 years ago
  • 1.1.3                                ...           3 years ago
  • 1.1.2                                ...           3 years ago
  • 1.1.1                                ...           3 years ago
  • 1.1.0                                ...           3 years ago
  • 1.0.12                                ...           3 years ago
  • 1.0.11                                ...           3 years ago
  • 1.0.10                                ...           3 years ago
  • 1.0.9                                ...           3 years ago
  • 1.0.8                                ...           3 years ago
  • 1.0.7                                ...           3 years ago
  • 1.0.6                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 58
Last Day 0
Last Week 57
Last Month 1
Dependencies (5)
Dev Dependencies (4)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |