Content pfp
Content
@
0 reply
0 recast
0 reaction

vrypan |--o--| pfp
vrypan |--o--|
@vrypan.eth
When I ask people who build tools using the gRPC hub interface, and they all manually pull/copy the protobuf definitions from the monorepo. There is no programatic way to check if you are using the latest .proto files or if they changed since the last time you used them, or what changed. Ideally, they would be a separate repo, with their own version. Maybe there are other, better solutions. But can we do something about it? cc @sanjay
3 replies
0 recast
6 reactions

Harris pfp
Harris
@harris-
I suppose a good way would be versioning the proto as a separate repo maybe, unsupported hub operations from a client to a server in grpc/proto usually returns the default value for a field, and in the reverse way receiving an unknown response from a server with more recent proto definitions puts them in an "unknown" section iirc. I think in theory you can even include artifacts from compiled protos that resemble versioned information? Descriptor set files? https://protobuf.com/docs/descriptors
1 reply
0 recast
1 reaction

Blinky Stitt pfp
Blinky Stitt
@flashprofits.eth
Reflection maybe?
2 replies
0 recast
0 reaction

Kyran pfp
Kyran
@kyran
buf is a pretty good tool for this
0 reply
0 recast
0 reaction