How do you generate via buf?
Galaf opened this issue · 2 comments
Galaf commented
Hello!
I tried generating the base files and it is perfectly OK but I can't generate the gRPC files.
Trying to use something like:
- plugin: buf.build/protocolbuffers/dart:v21.0.2
out: "grpc:proto/dart"
will fail with the following error message:
The filename, directory name, or volume label syntax is incorrect.
I tried several variations such as
- same
out
but with a comma to separate the options. - separate plugin entry with a
grpc:
prefix.
But it doesn't seem to work anyway.
Thank you in advance for your help.
utamori commented
version: v1
plugins:
- plugin: buf.build/protocolbuffers/dart:v20.0.1
out: lib
opt:
- grpc
Galaf commented
Thank you, it worked!