-
Notifications
You must be signed in to change notification settings - Fork 146
Complex nested filtering doesn't appear to work anymore #586
Comments
Without the logical AND, the cypher is doing the correct date comparison
However, with the logical AND, the cypher doesn't look right, note the equality comparison (instead of
|
This issue seems to only affect temporals and it was apparently introduced in v2.17.1 - this release. Looking at the test here, the assertion does not seem right, even though the query filter is:
The test is asserting |
I am observing the same, date filters with operators other than the exact date do not retrieve any results. gql query: return as result but: gql query
does not |
I think when filtering on temporals
|
This works in version < 2.17.1 but stops working once you upgrade to version ≥ 2.17.1 Below are screenshots from searches against the same database, the first one using version 2.11.3 and the second one using version 2.19.2 Version 2.11.3 Version 2.19.2 |
I am not sure they will to this bug as they are working on their new version. it's a Temporal bug that hard coded the equal operator in translate.js line 2879 and 2881 neo4j-graphql-js/src/translate/translate.js Line 2879 in 36a754a
i am FAR from a javascript guy but created a fork that corrects it and am using it. |
It appears the complex nested filtering bug described in #353 is back.
We have a schema as follows:
If I request articles published after a certain date as follows:
I get no result, however, if I repeat the same request without the logical AND thus:
I get results (see screenshots below).
I have tested this in v2.17.1 and v2.19.2 and the results are the same (as described above), however, it works as expected in v2.11.3
The text was updated successfully, but these errors were encountered: