![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
graphql-config-parser
Advanced tools
The easiest way to configure your development environment with your GraphQL schema (supported by most tools, editors & IDEs)
The easiest way to configure your development environment with your GraphQL schema (supported by most tools, editors & IDEs)
TLDR: Set an environment variable called GRAPHQL_ENDPOINT
to your GraphQL endpoint (e.g. https://your.api/graphql
) or read ahead for other configuration options.
Relay.QL
queriesDid we forget a tool/editor? Please add it here.
You can either configure your GraphQL endpoint via a configuration file or by providing an enviornment variable.
$GRAPHQL_ENDPOINT
environment variableThe easiest way to configure your project is by setting an environment variable called GRAPHQL_ENDPOINT
to your GraphQL endpoint.
export GRAPHQL_ENDPOINT="https://your.api/graphql"
.graphqlrc
fileYou can either use your actual GraphQL endpoint or if preferred a local JSON schema file.
Note: The headers
object is optional and can for example be used to authenticate to your GraphQL endpoint.
{
"request": {
"url": "https://example.com/graphql",
"headers": {
"Authorization": "xxxxx"
}
}
}
{
"file": "./schema.json"
}
package.json
fileUse the same configuration options as for the .graphqlrc
file but wrap it into an object with the key graphql
.
{
"dependencies": { ... },
"request": {
"url": "https://example.com/graphql"
}
}
This project aims to be provide a unifying configuration file format to configure your GraphQL schema in your development environment.
Additional to the format specification, it provides the graphql-config-parser
library, which is used by all supported tools and editor plugins. The library reads your provided configuration and passes the actual GraphQL schema along to the tool which called it.
In case you provided a URL to your GraphQL endpoint, the graphql-config-parser
library will run an introspection query against your endpoint in order to fetch your schema.
graphql-config-parser
APIJoin our Slack community if you run into issues or have questions. We love talking to you!
FAQs
The easiest way to configure your development environment with your GraphQL schema (supported by most tools, editors & IDEs)
The npm package graphql-config-parser receives a total of 0 weekly downloads. As such, graphql-config-parser popularity was classified as not popular.
We found that graphql-config-parser demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.