-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Labels
complexity: lowRequires minimal effort to implementRequires minimal effort to implementstatus: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: featureIntroduction of new functionality to the applicationIntroduction of new functionality to the application
Milestone
Description
NetBox version
v.4.3.1
Feature type
Change to existing functionality
Proposed functionality
It should be possible to construct links that go to /graphql/ and prefill the query (and maybe variables) in the GraphiQL UI with a certain value contained in the URL.
Usually in GraphiQL, this works by using the ?query= URL parameter, but since that's used to send a GraphQL query via GET, it cannot be used when still wanting to show the GraphiQL interface.
Therefore I propose to use #query= in the URL which has the advantage to also not be sent to the server and not polluting access logs.
Use case
This is for cases where i have complex queries i want to share with my collegues in a convenient way
Database changes
No response
External dependencies
No response
Metadata
Metadata
Assignees
Labels
complexity: lowRequires minimal effort to implementRequires minimal effort to implementstatus: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: featureIntroduction of new functionality to the applicationIntroduction of new functionality to the application