#grpc

/

      • lungaro
        can protobuf messages (proto3) be serialized canonically? Ie, the same message on different systems ends up being serialized as the same bytes?
      • (assuming same values obviously)
      • lburgazzoli joined the channel
      • pixelate has quit
      • pixelate joined the channel
      • temporalfox joined the channel
      • maldridge
        ejona: got it; for reasons I will never understand --go_out=plugin=grpc:routeguide is also a valid command which does generate a Go file of the protobuf, but you'll note the missing 's' in that, this seems to be the bit that causes it to not actually generate any of the grpc specific bits
      • lburgazzoli joined the channel
      • chin-tastic joined the channel
      • ejona
        maldridge: the plugin= piece was simply ignored, because it was unknown. So it was the same as --go_out=
      • maldridge
        interesting
      • well, now I know
      • lungaro
        i wanna extend the generator in protobuf, anyone have an example of writing a plugin ?
      • (I also wonder how easy it is )
      • ps.. specifically the go generator. I may just use the go types generator and go/ast instead