mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[PR #508] [MERGED] GraphQL query validation based on schema #2663
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#2663
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/508
Author: @AndrewBastin
Created: 1/19/2020
Status: ✅ Merged
Merged: 1/20/2020
Merged by: @AndrewBastin
Base:
master← Head:feat/gql-query-schema-val📝 Commits (3)
f0cfee5Added ability to query editor to validate based on schema77e51f3GraphQL page now notifies the query editor about the schema for validation744d647GQL Query Editor doesn't give errors for empty queries📊 Changes
2 files changed (+37 additions, -11 deletions)
View changed files
📝
components/graphql/queryeditor.vue(+35 -11)📝
pages/graphql.vue(+2 -0)📄 Description
This PR intends to introduce Query Validation based on schema. Therefore, errors on the query (as long as there are no syntax errors) are reported by evaluating with the schema, this helps catch undefined schema field accessing.
#468
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.