graphql-to-elm
graphql-to-elm copied to clipboard
Validates graphql queries and converts them to elm code.
Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.1.0 to 4.1.1. Commits 2449650 Update mocha 560b2d8 Don't use regex to trim whitespace b1bdb92 Remove linting package zoo c20dc7e Cache 308 See full diff in compare...
Given schema ``` type Query { books: [Book] } type Book { title: String author: String } ``` query ``` query { books { ...foo ...bar } } fragment foo...
Closes #12 1. converts `queryOperation.inputs: QueryObjectInput` to `QueryCompositeNonFragmentOutput` 2. then we can `getCompositeDecoder` for our `queryOperation.inputs` 3. update `generateExports` and `generateEncodersAndDecoders` to include our new decoders having a new decoder...
given such a schema ```gql schema { query: query } type query { string(node: Node): String } input Node { name: String child: Node } ``` this works ```gql query...
For pagination and deep linking purposes, I’ll need to persist `Variables` as a url query. This means I need to encode and decode `Variables` values. I see `encodeVariables` already exist...