docs(contracts): mark galaxy_repository.proto as intentionally retained for clients
The 2026-06-25 re-review observed that the gateway server no longer uses the Contracts-generated Galaxy types (it consumes the wire-identical types from the ZB.MOM.WW.GalaxyRepository package). That made galaxy_repository.proto look like dead code. It is not: Go/Rust/Java/Python clients compile it by path, the .NET client consumes Contracts.Proto.Galaxy.* via project reference, and clients/proto/proto-inputs.json publishes it. Document this at the csproj entry and in CLAUDE.md so it is not deleted in a future cleanup.
This commit is contained in:
@@ -26,6 +26,11 @@
|
||||
<Compile Remove="Generated\**\*.cs" />
|
||||
<Protobuf Include="Protos\mxaccess_gateway.proto" ProtoRoot="Protos" OutputDir="Generated" GrpcOutputDir="Generated" GrpcServices="Both" />
|
||||
<Protobuf Include="Protos\mxaccess_worker.proto" ProtoRoot="Protos" OutputDir="Generated" GrpcServices="None" />
|
||||
<!-- galaxy_repository.proto is intentionally retained even though the gateway SERVER now consumes
|
||||
the wire-identical Galaxy types from the ZB.MOM.WW.GalaxyRepository package. This proto is
|
||||
still the generation source of truth for the language clients (Go/Rust/Java/Python compile it
|
||||
by path; the .NET client consumes Contracts.Proto.Galaxy.* via this project reference) and for
|
||||
clients/proto/proto-inputs.json. Removing it breaks all five clients — do not delete. -->
|
||||
<Protobuf Include="Protos\galaxy_repository.proto" ProtoRoot="Protos" OutputDir="Generated" GrpcOutputDir="Generated" GrpcServices="Both" />
|
||||
</ItemGroup>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user