An open API service indexing awesome lists of open source software.

https://github.com/pleclech/gql-tools

Miscellanous go code to manipulate gql
https://github.com/pleclech/gql-tools

Last synced: about 20 hours ago
JSON representation

Miscellanous go code to manipulate gql

Awesome Lists containing this project

README

          

# gql-tools

Go libraries for working with GraphQL documents and related tooling.

## Modules

| Module | Description |
|---|---|
| [gqldoc](./gqldoc) | Parse, mutate, and format GraphQL query documents on [gqlparser/v2](https://github.com/vektah/gqlparser) |
| [gqlhasura](./gqlhasura) | Reusable Hasura filter helpers (`_or` list normalization) |

## Install

Each package is a separate Go module:

```bash
go get github.com/pleclech/gql-tools/gqldoc@gqldoc/v0.1.0
go get github.com/pleclech/gql-tools/gqlhasura@gqlhasura/v0.1.0
```

## Development

```bash
go work init ./gqldoc ./gqlhasura
cd gqlhasura && go test ./...
```

## License

MIT