Description
Im going through the documentation of the query builder to find how I must deal with assigning parameters during the query build process.
this is what I come across: https://www.doctrine-project.org/projects/doctrine-phpcr-odm/en/latest/reference/query-builder-reference.html#gt-parameter
setParameter
however is not implemented in the QueryBuilder. Was this removed for some reason?
Having such functionality imo is crucial as once you request the query to assign parameters that should apply you can no longer continue building. This would mean that any abstractions you implement for building would have to somehow track all parameters themselves and then assign it to the query, which makes me believe thats the querybuilders job?
On first glance it would also be fairly easy to implement, just assign them during Converter::getQuery()
e.g. ConverterPhpcr:getQuery
just after creation of the query.
This would not break BC i think, although it could be that some would have extended and implemented get/set parameters for their custom converter ...
any thoughts?