# README
protoc-gen-graphql (PGG)
PGG is a protoc plugin to generate a performant GraphQL server to knit together your gRPC services.
Installation
Assuming you have $GOBIN
on your path, the following with enable the generator as a plugin.
go install github.com/kitt-technology/protoc-gen-graphql
Usage
protoc \
-I ${GOPATH}/src \
--go_out=./out \
--go-grpc_out=./out \
--graphql_out="lang=go:./out" \
--proto_path . \
./path/to/your/file.proto
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Release
- Commit, merge, and pull
- Tag the new version:
git tag v0.X.X
(NOTE: has to be triple digit version v.0.X.X) - Push the tag:
git push --tags
- Update
KITT_REPO/build/common/docker/deps/Dockerfile
:ENV GEN_GRAPHQL_VERSION v0.X.X
- Rebuild the docker image:
docker build --build-arg GITHUB_TOKEN -t gcr.io/kitt-220208/deps .
- Push that docker image (optional):
docker push gcr.io/kitt-220208/deps
Please make sure to update tests as appropriate.
License
# Packages
No description provided by the author
No description provided by the author
No description provided by the author