Closed landure closed 3 months ago
MartinGeorgiev\Doctrine\ORM\Query\AST\Functions\InArray use MartinGeorgiev\Doctrine\ORM\Query\AST\Functions\Any by calling ANY as function name.
MartinGeorgiev\Doctrine\ORM\Query\AST\Functions\InArray
MartinGeorgiev\Doctrine\ORM\Query\AST\Functions\Any
ANY
The documentation examples use ANY_OF as alias for the Any function, triggering a type error when using InArray.
ANY_OF
Either detect the alias used for Any class (prefered), or use ANY_OF (breaking change for code already using InArray).
Any
InArray
Thank you for your work.
Please provide code snippets to replicate the issue.
My bad, i'm an idiot.
MartinGeorgiev\Doctrine\ORM\Query\AST\Functions\InArray
useMartinGeorgiev\Doctrine\ORM\Query\AST\Functions\Any
by callingANY
as function name.The documentation examples use
ANY_OF
as alias for the Any function, triggering a type error when using InArray.Either detect the alias used for
Any
class (prefered), or useANY_OF
(breaking change for code already usingInArray
).Thank you for your work.