I am looking for Lua-protobuf binding that supports all protobuf syntax like oneof
. I tried a couple of available libraries but they don't support oneof
. I will use it in openresty.
Asked
Active
Viewed 327 times
0

Nishant Kumar
- 2,199
- 2
- 22
- 43
-
please search the web for things like that. – Piglet Dec 25 '17 at 12:17
-
I already did and couldn't find anything. Most of the available binding doesn't support "oneof" – Nishant Kumar Dec 25 '17 at 13:05
-
Fwiw I think the question has validity - but if the existing Lua libs don't support oneof, have you considered forking them? I don't know enough about Lua to comment on how hard it is to implement oneof there, but I've implemented it in .NET without too much pain. A list of many of the libs (including at least 3 for Lua) is here: https://github.com/google/protobuf/blob/master/docs/third_party.md – Marc Gravell Dec 25 '17 at 16:50