Skip to content

Commit

Permalink
Merge pull request #1499 from vtexdocs/EDU-13678-feedback-error
Browse files Browse the repository at this point in the history
EDU-13678: Fix `resolver` extension name (Feedback #4200)
  • Loading branch information
mariana-caetano authored Oct 22, 2024
2 parents 1b1ac89 + f7a6166 commit 379d9b5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ Refer to the next step to create the resolvers to provide the actual data to the

Now, you'll create a resolver to define how the new `customData` field should be resolved, specifically what data or logic should be associated with it when queried.

1. Create a new `<resolver>.graphql` file inside the `vtex/resolvers` folder. Let's continue using the [StoreProduct](https://v1.faststore.dev/reference/api/objects#storeproduct) type
1. Create a new `<resolver>.ts` file inside the `vtex/resolvers` folder. Let's continue using the [StoreProduct](https://v1.faststore.dev/reference/api/objects#storeproduct) type
example. That means the name of the file will be `product.ts`.

> ℹ️ The organization inside this folder is flexible. You can create multiple resolver files or group them all together in one file.
Expand Down

0 comments on commit 379d9b5

Please sign in to comment.