Pavel Perestoronin

Results 76 comments of Pavel Perestoronin

@EricCousineau-TRI no, there wasn't such a thing

Could you elaborate on your use case? Because `oneof` doesn't exist on the wire, it's more like a sugar which ensures the mutual exclusiveness. So I want to know more...

Okay, thanks for the clarification! I have something like this in my mind at the moment: ```python counter: Optional[uint64] = optional_field(3) value: Optional[double] = optional_field(4) message_data: Union[None, uint64, double] =...

Sorry guys, I had rough time and didn't really pay an attention to the project, so there's still no any implementation for `oneof`. I've become somewhat more active on it...

Hi @aleksZubakov, Sure, any help is welcome! I've got a couple of concerns here: 1. The drawback you already mentioned. Could you elaborate on how we could check that? I'm...

> In example you likely meant: > … > Did I get right? Oh yeah, overlooked while copy-pasting 😄 > The main concern here is that we cannot control which...

Hi @aleksZubakov, Sorry for the delay 😮‍💨 Yeah, I don't have a better idea of implementing this. Anything I tried to sketch – is more or less of the same...

JFYI `2.1.1` includes the initial `OneOf` implementation from #94.

Same for me here https://github.com/eigenein/protobuf/actions/runs/4203985585/jobs/7294058670 and it's flaky

👋 @Mokto That's a tricky one to tell. I'm working on V3 nowadays (almost there), and only then I can start addressing the old issues which I never got my...