drupal-graphql / drupal-graphql/graphql

Query filter on value of body

Open
#980 0 comments 0 reactions 0 assignees View on GitHub
3.x question
Dominant language
PHP
Stars
287
Forks
198
PR merge metrics
No merged PRs in 30d

Description

Hi,

Any idea how to filter on the value of a nested field? ex:

```
{
nodeQuery(revisions: LATEST
filter: {
conditions: [
{operator: IN, field: "body", value: ["asd"]}
]}
) {

entities {

...on NodeArticle {

title
body {
value
}
}
...on ContentModerationState {
moderationState

}
}
}
}
```

How do i filter on value of body in this case?

Thx!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.