Skip to content

[Bug] nocase filter not working for field of type array of string. #5828

@shiyasmohd

Description

@shiyasmohd

Bug report

When querying with _nocase filter for [String] type, it is not working as expected.
Example subgraph
Working query (Returns data)

{
  tests(where:{pubKeys_contains_nocase:["0xe9e7cea3dedca5984780bafc599bd69add087d56"]}){
    pubKeys
  }
}

Query Not working (Returns empty array)

{
  tests(where:{pubKeys_contains_nocase:["0xe9e7cea3DEDCA5984780bafc599bd69add087d56"]}){
    pubKeys
  }
}

Relevant log output

IPFS hash

QmRn29XjvjMN7ekXGMnvG5bC32sXqLjqbLQJUkgm4AXLqZ

Subgraph name or link to explorer

No response

Some information to help us out

  • Tick this box if this bug is caused by a regression found in the latest release.
  • Tick this box if this bug is specific to the hosted service.
  • I have searched the issue tracker to make sure this issue is not a duplicate.

OS information

None

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions