-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create 2022-05-18-faststore.md #1305
Merged
Merged
Changes from 4 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
6242524
Create 2022-05-18-faststore.md
PedroAntunesCosta 4ae854f
Correcting release note
PedroAntunesCosta cf29d35
Update 2022-05-18-faststore.md
PedroAntunesCosta f22b74a
Update 2022-05-18-faststore.md
PedroAntunesCosta c529326
Updating `releases` file and release note title
PedroAntunesCosta f6b3455
Update 2022-05-18-faststore.md
PedroAntunesCosta File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -0,0 +1,27 @@ | ||||||
--- | ||||||
description: The FastStore API types, queries and mutations have been documented. You can check it now by using GraphiQL. | ||||||
tags: [faststore] | ||||||
hide_table_of_contents: false | ||||||
--- | ||||||
|
||||||
# FastStore API documentation updated | ||||||
|
||||||
We have made available FastStore API reference documentation. You can check it now by using [GraphiQL](https://github.com/graphql/graphiql). | ||||||
|
||||||
## What has changed? | ||||||
|
||||||
When working on a FastStore project, you can run it locally and use **GraphiQL** to explore the API. Now, when you do this you will see that each type, argument, querie and mutation has an associated description. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
||||||
## What needs to be done? | ||||||
|
||||||
To see these new docs follow these steps: | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
1. Run `yarn` in your project to reinstall the `@faststore/api` dependency. | ||||||
2. Run `yarn develop` to start a local server. | ||||||
3. Access GraphiQL by going to this address: | ||||||
``` | ||||||
http://localhost:8000/__graphql | ||||||
``` | ||||||
4. Click on the `Docs` button on the upper right corner. | ||||||
5. On the docs tab you can browse through the definitions or search for types by name. | ||||||
|
||||||
![Screen capture of the procedure described above.](https://vtexhelp.vtexassets.com/assets/docs/src/viewing%20docs%20in%20graphiql%2018052022___8e00bfb24dcfc4c7cddcd45bc0863c8a.gif) |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.