Is your feature request related to a problem or challenge? Please describe what you are trying to do.
As discussed in #8873, we need to add a field lossy in CastOptions, so that we can support lossy cast in the variant-get(#8982 ), as this will add a field in the pub struct, so we need to add this in a major version.
Describe the solution you'd like
Add a field lossy in CastOptions and change the usages.
Describe alternatives you've considered
Additional context
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
As discussed in #8873, we need to add a field
lossyinCastOptions, so that we can support lossy cast in thevariant-get(#8982 ), as this will add a field in the pub struct, so we need to add this in a major version.Describe the solution you'd like
Add a field
lossyinCastOptionsand change the usages.Describe alternatives you've considered
Additional context