Skip to content

Commit

Permalink
Add warning about Query and fragment file name relationship
Browse files Browse the repository at this point in the history
  • Loading branch information
gvc committed Nov 17, 2023
1 parent 8854cd7 commit 480c9f9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Even though you can add information to the FastStore API schema, you must be car


<Callout type="warning" emoji="⚠️">
The name of the file should match the name of the query you want to extend.
The name of the file should match the name of the query you want to extend without the Query suffix. In our example we're extending the `ServerProductQuery`, so the fragment file must be `ServerProduct.ts`.
</Callout>

### Step 2: Define the GraphQL fragment
Expand Down

0 comments on commit 480c9f9

Please sign in to comment.