lua-protobuf icon indicating copy to clipboard operation
lua-protobuf copied to clipboard

Add meta table operation support for repeated label.

Open stillcold opened this issue 3 years ago • 3 comments

Fix #197.

use it like this:

local array_mt = {}
pb.repeated_mt(array_mt)

Then we can decode messages with all empty table generated by repeated label use array_mt as meta table.

stillcold avatar May 25 '22 15:05 stillcold

额……功能实现不着急啊……比如你现在的实现就漏了好几个地方,而且有些地方的接口是和空message共用的不能这么简单加。现在应该先讨论下接口到底怎么设计的问题。如果你只是自用,那么这样对你而言应该问题不大~

starwing avatar May 26 '22 02:05 starwing

好的呢,老哥,我先自己这么用着,等你们修好了,我再merge一下你们更全面的版本好了

stillcold avatar May 26 '22 03:05 stillcold

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell B 6 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

sonarqubecloud[bot] avatar Nov 19 '23 14:11 sonarqubecloud[bot]