Closed Centril closed 1 week ago
First we reduce the number of .type_of() calls to one. Then we make the method sound by making it partial without an answer in e.g., the case of sums. Also cleans up the bsatn roundtrip test.
.type_of()
Fixes https://github.com/clockworklabs/SpacetimeDB/issues/104.
None
1
I'm curious, what is this API currently used for?
The only remaining use is in Header::project as seen in the diff.
Header::project
Description of Changes
First we reduce the number of
.type_of()
calls to one. Then we make the method sound by making it partial without an answer in e.g., the case of sums. Also cleans up the bsatn roundtrip test.Fixes https://github.com/clockworklabs/SpacetimeDB/issues/104.
API and ABI breaking changes
None
Expected complexity level and risk
1