Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[PropertyInfo] Support multiple types (union types) for collection values #38093

Closed
@digilist

Description

@digilist

Description
This is a follow-up for #37559.

The PropertyInfo component cannot identify collection values with a union type value like array<string|int> at the moment. Currently, it's only possible to identify singular types (e.g. string or \A) or types that are nullable (e.g. string|null) for the collection value.

Example
Following types cannot be identified at the moment:

array<string|integer>
array<string|integer|null>
array<A|B>
array<A|B|C>

and so on..

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions