Skip to content

Commit

Permalink
Adds the protoc version doc (#1401)
Browse files Browse the repository at this point in the history
  • Loading branch information
fedefernandez authored Jan 10, 2022
1 parent 46a5afb commit 0521ed5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 45 deletions.

This file was deleted.

1 change: 1 addition & 0 deletions microsite/src/main/docs/reference/source-generation.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ muSrcGenSerializationType := SerializationType.Protobuf // or SerializationType.
| `muSrcGenIdiomaticEndpoints` | Flag indicating if idiomatic gRPC endpoints should be used. If `true`, the service operations will be prefixed by the namespace. | `true` |
| `muSrcGenAvroGeneratorType` | Allows to generate Scala code either using [avrohugger](https://github.com/julianpeeters/avrohugger) or [skeuomorph](https://github.com/higherkindness/skeuomorph). `AvroGeneratorTypeGen.SkeumorphGen` is the default; set to `AvroGeneratorTypeGen.AvrohuggerGen` to use the [avrohugger](https://github.com/julianpeeters/avrohugger) library to generate the Scala code. | `AvroGeneratorTypeGen.SkeumorphGen` |
| `muSrcGenStreamingImplementation` | Specifies whether generated Scala code will use FS2 `Stream[F, A]` or Monix `Observable[A]` as its streaming implementation. FS2 is the default; set to `higherkindness.mu.rpc.srcgen.Model.MonixObservable` to use Monix `Observable[A]` as its streaming implementation. This setting is only relevant if you have any RPC endpoint definitions that involve streaming. | `higherkindness.mu.rpc.srcgen.Model.Fs2Stream` |
| `muSrcGenProtocVersion` | Specifies the protoc version when generating source files from proto files. | Check the [SrcGenPlugin.scala](https://github.com/higherkindness/sbt-mu-srcgen/blob/main/plugin/src/main/scala/higherkindness/mu/rpc/srcgen/SrcGenPlugin.scala) |


### muSrcGenJarNames
Expand Down

0 comments on commit 0521ed5

Please sign in to comment.