/nimgraphql

Nimgraphql is a Nim wrapper for the libgraphqlparser library

Primary LanguageNimMIT LicenseMIT

Nimgraphql is a Nim wrapper for the libgraphqlparser library.

Nimgraphql is distributed as a Nimble package and depends on nimterop to generate the wrapper. Python v2 and cmake are also required as part of the libgraphqlparser build process. The libgraphqlparser source code is downloaded using Git so having git in the path is required.

Installation

Nimgraphql can be installed via Nimble:

> nimble install https://github.com/genotrance/nimgraphql

This will download, wrap and install nimgraphql in the standard Nimble package location, typically ~/.nimble. Once installed, it can be imported into any Nim program.

Usage

Refer to the tests directory for examples on how the library can be used.

Credits

Nimgraphql wraps the libgraphqlparser source code and all licensing terms of libgraphqlparser apply to the usage of this package.

Feedback

Nimgraphql is a work in progress and any feedback or suggestions are welcome. It is hosted on GitHub with an MIT license so issues, forks and PRs are most appreciated.