Description
I recently upgraded to the latest version of the @protobuf-ts/*
packages and updated the option names passed to protoc to their new ones, for instance disable_service_client
was renamed to force_client_none
; however, I am no longer able to prevent protobuf-ts from generating services in my typescript files.
I have tried to dig into the source code for this package and understand how options for service generation are used, but I can't seem to find anything that is standing out. I have also tried to remove all other options I was using and only specified force_client_none
but to no avail. I have also tried using the client_none
option, but again, services are still generated.
I was wondering if anyone else was experiencing this issue, or if anyone else could try to reproduce this.
The full command I am running is:
npx protoc \
--proto_path="${MY_PATH}" \
--plugin="protoc-gen-ts=${PROTOC_PATH}" \
--ts_out="${PROTOC_OUT_DIR}" \
--ts_opt force_client_none \
--ts_opt generate_dependencies \
--ts_opt long_type_string \
--experimental_allow_proto3_optional \
${FILES}
While my protos are generated fine, again, the services are being generated and this is problematic for the project I am working on.
Activity