AkroMentos
Explore posts from servers❔ Mapping common primitive types with protobuf & grpc
it doesn't have to be, I have a code generator for other purposes where I already do my own .proto -> .desc -> c# code, I can just hook into that and generate these mappings from a config file as well
70 replies
❔ Mapping common primitive types with protobuf & grpc
sorry, I thought you had something specific in mind when you said
it's entirely possible, but I have no idea if Grpc.Tools supports anything like thatit came across that you are also using protobuf and know of a library or tool that supports what I need or have solved this issue otherwise
70 replies
❔ Mapping common primitive types with protobuf & grpc
so what you're suggesting is that if there was a way it'd be best if instead of the generated Vector3, the code generator could already put System.Numerics.Vector3 in there.
just imagingin how that could possible work, at that point the generated code couldn't possibly call the proto write on that vector3 because obviously System.Numerics.Vector3 is not a proto class.
There'd need to exist a mapping still somewhere 😐
70 replies