[PR #846] [MERGED] Save GraphQL Docs #2898

Closed
opened 2026-03-17 00:33:48 +03:00 by kerem · 0 comments
Owner

📋 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: masterHead: feat/cache-gql-docs


📝 Commits (6)

  • 5f06eb5 Fixed typo in default state gql query value
  • ec2f4ea Added eslint and eslint-plugin vue as dev dependency
  • d42f842 Added store entry to store GQL schema introspection data
  • 6644e3b Refactor Docs generation from GQL Schema to a separate function
  • 22178a6 Docs are persisted and regenerated from the schema introspection data
  • d81c45f Merge 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.

## 📋 Pull Request Information **Original PR:** https://github.com/hoppscotch/hoppscotch/pull/846 **Author:** [@AndrewBastin](https://github.com/AndrewBastin) **Created:** 5/5/2020 **Status:** ✅ Merged **Merged:** 5/6/2020 **Merged by:** [@liyasthomas](https://github.com/liyasthomas) **Base:** `master` ← **Head:** `feat/cache-gql-docs` --- ### 📝 Commits (6) - [`5f06eb5`](https://github.com/hoppscotch/hoppscotch/commit/5f06eb5116f4ab497f560c09f915941994779f50) Fixed typo in default state gql query value - [`ec2f4ea`](https://github.com/hoppscotch/hoppscotch/commit/ec2f4ea5471e2d6b26685fdd0bf7abea0e7365f3) Added eslint and eslint-plugin vue as dev dependency - [`d42f842`](https://github.com/hoppscotch/hoppscotch/commit/d42f842b2f84b495a069c683f5a862b0c09c0641) Added store entry to store GQL schema introspection data - [`6644e3b`](https://github.com/hoppscotch/hoppscotch/commit/6644e3b60652015a9898c49278b928d67154c31a) Refactor Docs generation from GQL Schema to a separate function - [`22178a6`](https://github.com/hoppscotch/hoppscotch/commit/22178a6c2efe82921328f6bd97f644deb9828450) Docs are persisted and regenerated from the schema introspection data - [`d81c45f`](https://github.com/hoppscotch/hoppscotch/commit/d81c45fef1b6e1f1a19b3ea249e226ae428b37ff) Merge remote-tracking branch 'upstream/master' into feat/cache-gql-docs ### 📊 Changes **4 files changed** (+663 additions, -46 deletions) <details> <summary>View changed files</summary> 📝 `package-lock.json` (+595 -0) 📝 `package.json` (+2 -0) 📝 `pages/graphql.vue` (+64 -45) 📝 `store/state.js` (+2 -1) </details> ### 📄 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.) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 00:33:48 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#2898
No description provided.