Is your feature request related to a problem or challenge? Please describe what you are trying to do.
This is a tracking ticket for work items identified by
Describe the solution you'd like
Several things:
Describe alternatives you've considered
Additional context
Part of the variant shredding saga.
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
This is a tracking ticket for work items identified by
Describe the solution you'd like
Several things:
ObjectBuildershould detect duplicates at insertion time, not at finish #8180ParentStateto track and rollback state on behalf of its owning builder #8182ObjectBuilder::finishsignature infallible #8184ValueBuilderAPI to work withParentStatefor reliable nested rollbacks #8188ValueBufferasValueBuilder#8186ValueBuilder,ParentState, etc publicVariantArrayBuildertracks starting offsets instead of (offset, len) pairs #8192VariantArrayBuilderusesParentStatefor simpler rollbacks #8205new_objectandnew_listtoVariantBuilderExttrait.finishtaking&mut selfinstead ofselfMetadataBuilderinto a trait, with the current metadata builder as the canonical implementationDescribe alternatives you've considered
Additional context
Part of the variant shredding saga.