Regression: impossible to call sub-relations with the QueryBuilder
FXLaroche opened this issue · comments
After updating to the latest version (1.21.1) there is a problem with the query builder, where queries will return an error if subrelations are called.
It worked fine with the 1.19 version.
The origin of the issue seems to be a change in the Orion\Drivers\Standard\QueryBuilder class.
Can confirm this, due to this: 07b92c4#diff-01c68949ae42f2140d32e3447873cfee92680c6b184f16af1f2bf29ec73d7ee0R137
Hi,
Thank you for reporting this. Could you please provide a concrete example, so I could investigate it further?
// (POST) /users/search
{
"filters": [
{"field" : "site.client.id", "operator" : "=", "value" : 1}
]
}
Basically, the filters are trying to access "User::site.client" which is the problem due to the line I reported just right up.
Should be fixed in v2.22.0, please let me know, if you continue facing the same issue.