mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[PR #4483] [CLOSED] feat: one-click graphQL query & mutation generation #4830
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#4830
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/4483
Author: @bogking
Created: 10/27/2024
Status: ❌ Closed
Base:
next← Head:main📝 Commits (10+)
6a171bbUpdate docker-compose.yml2663b6dUpdate docker-compose.deploy.yml833d858Update prod.Dockerfile9da3e9eUpdate prod.Dockerfilef042cccIssue #4371 - Update Query.vuea36ebd5Issue #4371 - Update Sidebar.vue45d0b2fIssue #4371 - Update settings.tsf5a631aIssue #4371 - Update DispatchingStore.ts6fcbf78Issue #4371 - Update settings.vue7af64dbIssue #4371 - Update index.ts📊 Changes
7 files changed (+594 additions, -35 deletions)
View changed files
📝
packages/hoppscotch-common/src/components/graphql/Query.vue(+47 -19)📝
packages/hoppscotch-common/src/components/graphql/Sidebar.vue(+55 -1)➕
packages/hoppscotch-common/src/helpers/graphql/graphql-codegen/har.ts(+126 -0)➕
packages/hoppscotch-common/src/helpers/graphql/graphql-codegen/index.ts(+227 -0)➕
packages/hoppscotch-common/src/helpers/graphql/queryBuilder.ts(+48 -0)📝
packages/hoppscotch-common/src/newstore/settings.ts(+67 -14)📝
packages/hoppscotch-common/src/pages/settings.vue(+24 -1)📄 Description
Closes #4371
PR Description
This PR adds functionality to be able to automatically generate query and mutation templates for selected data types or operations from the documentation and adds a setting to control the 'max depth' level of this nesting when adding a schema.
What's changed
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.