drupal-graphql / drupal-graphql/graphql

menuLinkContentQuery is not working

Open
#749 2 comments 1 reaction 0 assignees View on GitHub
3.x
Dominant language
PHP
Stars
287
Forks
198
PR merge metrics
No merged PRs in 30d

Description

Hi there,

I'd like to filter menu links based on URL. But it 's not working. Could you please help in sorting out the issue.

```
{
menuLinkContentQuery(filter:{
conditions: [{operator:LIKE, field:"link.url.path", value:["%finance%"]}]
}) {
entities {
entityLabel
... on MenuLinkContent {
link {
url {
path
}
}
}
}
}
}
```

The error is {
```
"errors": [
{
"message": "Internal server error",
"category": "internal",
"locations": [
{
"line": 5,
"column": 5
}
],
"path": [
"menuLinkContentQuery",
"entities"
]
}
],
"data": {
"menuLinkContentQuery": {
"entities": null
}
}
}
```

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.