santiagomed commented on PR #3414:
URL: https://github.com/apache/thrift/pull/3414#issuecomment-4340442165

   The `UnknownUnionVariant` catch is now gated on 
`is_optional(actual_field_req(tfield, struct_type))`. For required fields and 
RPC args/result structs (where `actual_field_req` returns `T_REQUIRED`), the 
union read uses the normal `?` propagation path, so `UnknownUnionVariant` flows 
up to the caller as-is instead of being silently converted to `None` and later 
surfacing as `MissingResult`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to