neoeinstein / protoc-gen-prost

Apache License 2.0
150 stars 41 forks source link

Cannot create output files #108

Closed petoknm closed 3 hours ago

petoknm commented 3 hours ago
$ protoc --tonic_out=server/src protos/base.proto 
_: Tried to insert into file that doesn't exist.
petoknm commented 3 hours ago

k, found the solution in a nested readme:

* `no_include(=<boolean>)`:  Skips adding an include into the file generated
  by `protoc-gen-prost`. This behavior may be desired if this plugin is run
  in a separate `protoc` invocation and you encounter a `Tried to insert into
  file that doesn't exist` error.