-
Notifications
You must be signed in to change notification settings - Fork 162
Closed
Labels
Description
Describe the bug
caseInsensitive filter does not work for fields being resolved via @cypher directive
Type definitions
type Person {
name: String
nickname: name: String! @cypher (
statement: """
RETURN this.name AS result
"""
columnName: "result"
)
}To Reproduce
- Insert a
Personnode with name =Toyota - Then run the following Query:
query {
eq: people( where:{nickname:{caseInsensitive:{eq:"toyota"}}}) {
name
}
contains: people( where:{nickname:{caseInsensitive:{contains:"YO"}}}) {
name
}
startsWith: people( where:{nickname:{caseInsensitive:{startsWith:"to"}}}) {
name
}
endsWith: people( where:{nickname:{caseInsensitive:{startsWith:"tA"}}}) {
name
}
in: people( where:{nickname:{caseInsensitive:{in:["toyota"]}}}) {
name
}
}- See error: no results are returned for each query.
Expected behavior
The caseInsensitive filter should work for fields resolved via @cypher directive the same way as for "normal" String fields.
System (please complete the following information):
- Version: @neo4j/[email protected]