Arwalk
Arwalk
Yeah, i see you're point. I'm gonna look a bit more into it and how it's done in google's C++ interfaces for services. But i'm really bothered by the fact...
Very late answer, have been pretty busy lately > I'd be all in on this approach if we can find those useful cases. Did you think about any? As you...
Hello @niteshbalusu11 This PR is kind of in hiatus for now. I don't think i'll actively work on the subject until async comes back into zig. Do you have some...
To avoid any confusion, and as i don't plan on working on this until async is back, i'm closing it.
Hello @jiacai2050 , I'm pretty sure the zig compiler only compiles code that you actively use. This is what makes zig's stdblib so lightweight to use, after all: only the...
Closing, I consider the question answered.
Hello, I have no plan of implementing the full gRPC protocol by myself, but i guess we could generate interface structures that the user would fill with the implementations. something...
Actually, i thought services in proto files were meant to be only gRPC services, but no, you can define your own transport protocol according [to the spec itself](https://protobuf.dev/programming-guides/proto3/#services) So i...
@niteshbalusu11 ongoing work in #40 , i'm going for the common interface pattern found in the standard library. services will look like [this](https://github.com/Arwalk/zig-protobuf/pull/40/files#diff-43d34dd7dba6c93769d18bfce9aadaf866e4fff13c4f8bb61516e412cae25dbfR2125) with implementations possibly like [that](https://github.com/Arwalk/zig-protobuf/pull/40/files#diff-45858a1bea3365500be8bd700c629331e9982cf8f4bd6dbd63cc3fab34c8112bR56), see test...
I realized that error handling was completely missing in what i was about to propose. The thing is, i'm not sure how to handle it correctly. I have two ideas...