AdventureBeard / graphql-query-builder

a simple but powerful graphQL query builder

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This fork of graphql-query-builder adds the EnumValue type, which won't be wrapped in an extra set of double-quotes by the filter builder. Index.js now exports both Query and EnumValue.

Filter with an enum like so:

new Query("example").filter({
          orderBy: new EnumValue("name_ASC")
        }).find(
          "id"
          "name"
        )

graphql-query-builder

Please refer to original repo for any more information. This fork was a quick fix and guarantees nothing about code quality or tests.

About

a simple but powerful graphQL query builder

License:MIT License


Languages

Language:JavaScript 100.0%