We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There are currently two ways to define messages to which the "pool" functionality will be applied:
vtproto.mempool
pool
Both of these methods uncomfortable to use for large numbers of messages.
It might be worth adding the ability to use wildcards in pool flag to determine group of messages.
For example in my existing buf configuration:
version: v1 plugins: - name: go-vtproto path: bin/protoc-gen-go-vtproto out: . opt: - features=marshal+unmarshal+size+pool+grpc - paths=source_relative - pool=github.com/some/api/example1.Message1 - pool=github.com/some/api/example2.Message2 - pool=... - pool=github.com/some/api/example3.Message100 strategy: directory
Instead could be:
version: v1 plugins: - name: go-vtproto path: bin/protoc-gen-go-vtproto out: . opt: - features=marshal+unmarshal+size+pool+grpc - paths=source_relative - pool=github.com/some/service/api/* strategy: directory
For more flexibility it is also possible to add a flag to exclude some messages from pool feature generation (something like pool-exclude).
The text was updated successfully, but these errors were encountered:
@vmg, Hi!
I would be very grateful if you could watch this 😃
Sorry, something went wrong.
I followed up on #115 just this morning!
No branches or pull requests
There are currently two ways to define messages to which the "pool" functionality will be applied:
vtproto.mempool
pool
flagBoth of these methods uncomfortable to use for large numbers of messages.
It might be worth adding the ability to use wildcards in
pool
flag to determine group of messages.For example in my existing buf configuration:
Instead could be:
For more flexibility it is also possible to add a flag to exclude some messages from
pool
feature generation (something like pool-exclude).The text was updated successfully, but these errors were encountered: