protoc-gen-graphql

command
v0.24.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 26, 2021 License: MIT Imports: 9 Imported by: 0

README

protoc-gen-graphql

protoc plugin binary.

Usage

Download binary which corresponds to runtime version via Release Page and place in $PATH directory.

Compile with this plugin example:

protoc \
    -I. \
    --graphql_out=[arguments]:[output_dir] \
    --go_out=plugins=grpc:[output_dir] \
    example.proto

Compilation Arguments

This plugin accepts some compile arguments:

  • --graphql_out=verbose: verbose debug output
  • --graphql_out=exclude=[regex]: exclude generation package with regexp
  • --graphql_out=field_camel: all graphql field name transform to lower-camel-case

All arguments can be provide by splitting comma.

Binary Option

Typically protoc-gen-graphql will process via stdin but some option can accept for development:

  • protoc-gen-graphql -v: Print plugin version

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL