I just started working with Magento2’s GraphQL API.
Im sending following request:
query getCategories {
categoryList {
uid
name
children {
uid
include_in_menu
name
position
url_path
children_count
children{
uid
include_in_menu
name
position
url_path
children {
uid
include_in_menu
name
position
url_path
}
}
}
}
}
But the response only shows a total of 20 nodes (altough there are more in the tree)
I know about the QueryComplexityLimiter
<type name="MagentoFrameworkGraphQlQueryQueryComplexityLimiter">
<arguments>
<argument name="queryDepth" xsi:type="number">20</argument>
<argument name="queryComplexity" xsi:type="number">300</argument>
</arguments>
But as far as I see this concerns only the complexity of the incoming query, not the response.
I also tried to change queryDepth anyways but it shows no difference in the response.
Does anybody have an idea how to remove the limiting on the GraphQL’s response?
P.S.: I’m using Magento 2.4.5-p1
Thanks in advance!