You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<ahref="https://devdocs.magento.com/guides/v2.3/graphql/develop/resolvers.html">Read more</a> about GraphQL Resolver, including when those can be used.
<td><fontface="verdana" size="-1">A resolver performs GraphQL request processing. In general, it is responsible
12
+
for constructing a query, fetching data and performing any calculations, then transforming the fetched and
13
+
calculated data into a GraphQL array format. Finally, it returns the results wrapped by a callable function.
14
+
</font><br>
15
+
</td>
16
+
</tr>
17
+
<tr>
18
+
<td><fontface="verdana" size="-1">A GraphQL resolver must implement interface Magento\Framework\GraphQl\Query\Resolver\BatchResolverInterface.
19
+
This interface provides a way to resolve multiple branches/leaves at once (known as batching).
20
+
Magento recommends using batch resolvers for queries because they improve performance by fetching information
21
+
required to resolve multiple GraphQL requests with a single operation.
22
+
</font><br>
23
+
</td>
24
+
</tr>
25
+
<tr>
26
+
<td><fontface="verdana" size="-1">
27
+
<ahref="https://devdocs.magento.com/guides/v2.3/graphql/develop/resolvers.html">Read more</a> about GraphQL Resolver, including when those can be used.
0 commit comments