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
The CBOR implementation is not properly handling recursive data structures by failing to apply Box to union variants where required. This results in uncompilable Rust code for recursive types.
Issue Details
Using the following Smithy model with recursive type references:
The CBOR implementation is not properly handling recursive data structures by failing to apply
Box
to union variants where required. This results in uncompilable Rust code for recursive types.Issue Details
Using the following Smithy model with recursive type references:
Current Output
The union deserializer currently generates code without boxing the recursive type:
Expected Output
The deserializer should box recursive variants to prevent infinite size errors:
This implementation correctly uses
Box
to handle the recursive relationship betweenProductListing
andRelatedProduct
.The text was updated successfully, but these errors were encountered: