You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 81258a7
Browse filesBrowse the repository at this point in the historyBrowse files
codegen: raw-preserving Nested<T> wrapper for bind_call in Go, Rust, Java, TS, C#
Each typed backend emits the large-values spec §3.3 wrapper for nested
records carried as binary (NESTED_BINARY_RECORDS): it holds the received
bytes, decodes lazily once on access, re-encodes as the held bytes,
serializes once when built from a typed record, compares and prints by
bytes. Decode errors name the field path (InitRequest.bind_call: ...).
- Go: generated.Nested[T] + <Field>Value() accessors; needs vgi-rpc-go to
honour encoding.Binary(Un)Marshaler and export Marshal/UnmarshalRecord.
go_registry uses the generated Cardinality/Statistics/Plan requests.
- Rust: Nested<T> (Arc bytes + OnceLock) implementing VgiArrow;
<field>_value() accessors; validate_arguments(); Vec<Option<T>> for
lists of optional items (argument_names nulls were lost).
- Java: protocol/Nested<T>; needs vgi-rpc-java's RawBinary hook.
list<large_binary> maps to @Arrowfield(LARGE_BINARY) List<byte[]>.
- TypeScript: Nested<T> class with generated encode/decode wrapping;
ts_client skips Transient fields; decoded embedding-request interfaces
live in vgi-protocol-types.ts.
- C#: Nested<T>; needs vgi-rpc-csharp's IRawBinary hook.
- One generated conformance test per SDK over conformance/nested-binary
(spec §3.4 tests 1-3), with freshness tests here.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
0 commit comments