Skip to content

Add lossy flag in CastOptions #9172

@klion26

Description

@klion26

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

Metadata

Metadata

Assignees

Labels

enhancementAny new improvement worthy of a entry in the changelog

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions