Skip to content

Unwrap FieldType Before instanceof chck #17802

@bzhangam

Description

@bzhangam

Is your feature request related to a problem? Please describe

Recently we have introduced FilterFieldType to core to support wrapping a delegate field type. But in core we have some logic which will check the instance of the FieldType so we should unwrap the field type before the check to ensure it's checking the right field type.

Describe the solution you'd like

Find all the instaneof check of the FieldType and unwrap the FieldType before the check.

Related component

No response

Describe alternatives you've considered

No response

Additional context

This is needed to ensure SemanticFieldType can work properly since it will extend the FilterFieldType to wrap a delegate FieldType.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions