0

Hi there I am using the WPGraphQL Plugin, however, I am having trouble with the query clause where:

query getCaseStudy {
 caseStudies(where: {name : "something-like-this" }) {
  nodes {
   databaseId
  }
 }
}

the above code returns a valid and correct response, however, when I passed on the parameter name, like this:

query getCaseStudy {
 caseStudies(where: {name : "something-like-this-" }) { //additional special characters
  nodes {
   databaseId
  }
 }
}

The results were still the same and the response was valid. Is this how the WPGraphQL works? I want to make it case-sensitive; is there a way to do it?

vilalabinot
  • 1,420
  • 4
  • 17

0 Answers0