mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[PR #846] [MERGED] Save GraphQL Docs #2898
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#2898
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/hoppscotch/hoppscotch/pull/846
Author: @AndrewBastin
Created: 5/5/2020
Status: ✅ Merged
Merged: 5/6/2020
Merged by: @liyasthomas
Base:
master← Head:feat/cache-gql-docs📝 Commits (6)
5f06eb5Fixed typo in default state gql query valueec2f4eaAdded eslint and eslint-plugin vue as dev dependencyd42f842Added store entry to store GQL schema introspection data6644e3bRefactor Docs generation from GQL Schema to a separate function22178a6Docs are persisted and regenerated from the schema introspection datad81c45fMerge remote-tracking branch 'upstream/master' into feat/cache-gql-docs📊 Changes
4 files changed (+663 additions, -46 deletions)
View changed files
📝
package-lock.json(+595 -0)📝
package.json(+2 -0)📝
pages/graphql.vue(+64 -45)📝
store/state.js(+2 -1)📄 Description
This PR intends to add the ability for the GraphQL schema docs generated to be persisted in the local storage.
The docs aren't exactly stored in the store, instead the schema introspection data is stored and the docs are generated from it.
Also, this PR adds eslint and eslint-plugin-vue as dev-dependencies (umm, it is because I wanted it for my dev environment, feel free to remove if so.)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.