You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this is mainly an issue with the way symfony/property-info handles unions. I think you should be able to fix this by specifying the key type of your collection:
Version
all
Description
Before this PR in property info, documenting a property like this:
was ok-ish, because property-info was creating a Type such as:
and then,
ArrayPropertyDescriber
was used because, the collection type does not have anycollectionKeyType
.But now, for the same phpdoc annotation, the collection gets created with two
collectionKeyType
:and then
ArrayPropertyDescriber
is not used anymore. And it result in the following error:I'm not really sure about the solution... maybe create a new
TraversablePropertyDescriber
would be enough?JSON OpenApi
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: