Я некоторое время искал и получал большую помощь от SO-сообщества.Но, похоже, что в моем проекте не разрешены обычные запросы, такие как sort, limit, filter или др.
Я запрашиваю пользовательский сайт middleware / drupal.
Примерыкоторые выдают ошибки:
{
umdHub(limit: 5) {
articles {
data {
id
title
subtitle
body
summary
}
}
}
}
или
{
umdHub(
sort: {
fields: [authorship_date___time]
order: ASC
}
) {
articles {
data {
id
title
subtitle
body
summary
authorship_date {
formatted_short
unix
unix_int
formatted_long
formatted_short
time
}
}
}
}
}
Все ошибки возврата в http://localhost:8000/___graphql как:
{
"errors": [
{
"message": "Unknown argument \"limit\" on field \"umdHub\" of type \"Query\".",
"locations": [
{
"line": 2,
"column": 10
}
]
}
]
}
Как я могу решить эти проблемы