~bigbes/tarantool-protobuf: 50ed9b68

wkt: auto-register WKT descriptors so Any JSON decode resolves @type

pb.wkt exported Timestamp/Duration/Empty/FieldMask/Any/Struct/Value/
ListValue and the nine Wrapper descriptors, but the REGISTRY they live in
was empty until callers manually invoked pb.register. json_to_any looked
up @type in that empty registry, fell through to the opaque base64
fallback, and errored on every Any-of-WKT JSON payload.

Iterates M for every *_descriptor entry at module load and self-registers
it. Also calls pb.register on TestAllTypesProto3 in the conformance runner
so Any tests that embed the user message type also resolve.

Drops 10 entries from test/conformance/known_failures.txt.

Eugene Blikh <bigbes@gmail.com> — 2026-05-15 21:18:09 UTC

Commit 50ed9b68298019a62b2081de24fe2d672b937fffview raw patch

Parent(s): 7442ea2b

3 changed file(s)

FileStatus+
cmd/conformance/core.lua M +5
runtime/pb/wkt.lua M +10
test/conformance/known_failures.txt M -10