-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor edits
guides/v2.3/graphql/queries.md
Outdated
--- | ||
|
||
A GraphQL search query can contain the following components: | ||
A GraphQL query retrieves data from the Magento server in a similar manner as a REST GET call. However, Magento GraphQL queries are not meant to be as comprehensive as their REST counterparts. The main purpose of the Magento GraphQL queries is to allow a mobile app or browser to render a wide variety of information, including the following: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are not meant to be as comprehensive as their REST
this seems to be inaccurate. GraphQL must cover all storefront scenarios covered with REST and make it possible to query more data in one request.
Long-term the main difference is that GraphQL will support store-front use cases while REST will support admin use cases.
Hi @keharper, thank you for your contribution! |
This PR is a:
Summary
GraphQL PR magento/graphql-ce#259 added the ability to use variables in queries. This PR not only adds information about variables, but also restructures the document so that the "Searches and Pagination" topic talks about queries in general. When the topic was written, there was only one type of query: the product search query.
I've renamed the topic to "Queries" and updated all of the links to it.
Related devdocs issue: #3716
Additional information
List all affected URLs
https://devdocs.magento.com/guides/v2.3/graphql/search-pagination.html
to be renamed to
https://devdocs.magento.com/guides/v2.3/graphql/queries.html
whatsnew
The "Searches and Pagination" topic has been expanded to include more information about queries and renamed to "Queries".