Skip to content

Commit

Permalink
fix: giving proper format to guide on GraphQL queries
Browse files Browse the repository at this point in the history
Signed-off-by: Alvaro Bueno <[email protected]>
Signed-off-by: Brent Hoover <[email protected]>
  • Loading branch information
delagroove authored and brent-hoover committed Feb 21, 2022
1 parent f6b437f commit ea53e2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions guides/create-graphql-query.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ In this guide, we’ll guide you through the steps you need to create a successf

The complete Reaction Commerce GraphQL API is created by stitching together domain-specific APIs from all of the API plugins. So when adding a new query, the first step is to decide which plugin should own it. This is usually obvious, but not always. You should think about whether any other plugins or services will need to call your query. If the query is fundamental to the system, then it may need to go in the "core" plugin, if no better alternative exists.

## Understand the difference between a plugin query function and a GraphQL query resolver
## Understand the difference between a plugin mutation function and a GraphQL mutation resolver

See [Resolver Mutations and Queries vs. Plugin Mutations and Queries](../guides/developers-guide/core/developing-graphql.md#resolver-mutations-and-queries-vs-plugin-mutations-and-queries)
See [Resolver mutations and queries vs. plugin mutations and queries in the GraphQL concepts docs](.docs/graphql-concepts.md)

## Name the query

Expand Down

0 comments on commit ea53e2a

Please sign in to comment.