Closed StarlightIbuki closed 1 year ago
We cannot tell empty lua tables from arrays. This PR tries to introduce a solution, to add a metatable to decoded array; and we encode table with this metatable as array.
This feature can also cooperate with: https://github.com/starwing/lua-protobuf/pull/240
Close as we prefer another solution.
We cannot tell empty lua tables from arrays. This PR tries to introduce a solution, to add a metatable to decoded array; and we encode table with this metatable as array.
This feature can also cooperate with: https://github.com/starwing/lua-protobuf/pull/240