You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is not currently supported. I think it might be possible, but have not looked into it deeply. Changing proto-lens-protoc (which generates the output files) should be straightforward; changing proto-lens-setup (the Cabal integration) could be tricky since I'm not sure it has the right level of visibility into the FileDescriptorProto.
One other issue is that we'd most likely want to support this option via an extension, similar to ScalaPB: https://scalapb.github.io/customizations.html
But proto-lens doesn't support extensions yet (#27). We could also upstream a change to the protobuf library itself, but I'm not sure how difficult it would be.
(If we did support this, I'd also suggest calling it haskell_module since "package" in Haskell means a collection of module files.)
It seems that the generated code always has module Proto.
Is there some way I could get more control?
For example inside the proto file
As has been done for most other languages.
The text was updated successfully, but these errors were encountered: