Questions about the binary protocol #1677
Replies: 4 comments 15 replies
The root result is always returned as a
We had a bug in the protocol that forced that distinction, which has since been fixed. I imagine it's a vestige of that. All
Root cardinality is in the |
|
|
The |
|
Why does the |
Uh oh!
There was an error while loading. Please reload this page.
Where is
Setallowed/required in type descriptors?My understanding is that the root and any shape elements are conceptually sets, but I don't know if they're modeled like that in the type descriptors as well?
What is the purpose of the
Tuple/InputTupledistinction?I see that
InputTupleis lacking a reserved field that Tuple has, but I don't know why this distinction exists and when each of them is used.Is there a way to get the cardinality of a set (root object or shape element)?
Statically typed languages model the cardinality as type (
Option<T>andVec<T>in rust) and I'd expect an error when the data model doesn't match the type.All reactions