Comments (2)
Actually there is also the standard that works in many clients to put informations like the URL, headers, introspection, ... in a file called .graphqlconfig
Example .graphqlconfig
file for GitHub GraphQL:
{
"name": "GitHub GraphQL API",
"schemaPath": "schema.graphql",
"extensions": {
"endpoints": {
"https://api.github.com/graphql": {
"url": "https://api.github.com/graphql",
"headers": {
"user-agent": "JS GraphQL",
"Authorization": "bearer ${env:GITHUB_TOKEN}"
},
"introspect": true
}
}
}
}
So with this we would have all the other informations from the Postman collection
from graphman.
That's a great idea, and it should be easy to do with the existing codebase!
Adding it to my to-do list, thanks for the suggestion!
PS: The exported postman collection is already compatible with insomnia :)
from graphman.
Related Issues (20)
- feat: add unit & e2e tests HOT 1
- Example doesn't work HOT 3
- Out directory not found
- feat: collection to queries HOT 1
- feat: run graphman from introspection query or schema files
- feat: improve error message when the request fails HOT 7
- Seperate Mutations and Queries into folders(item groups)
- Include a documentation in the generated collection HOT 3
- Generate sample test cases for collections HOT 1
- Generate mock responses for mutations and queries. HOT 6
- Build and publish an npm package from graphman
- Documentation about run command is wrong HOT 2
- Mutations not being separated into folder HOT 2
- Docker HOT 2
- Unions not yet supported? HOT 3
- feat: use the postman-collections sdk
- In Windows it generates an empty file HOT 5
- Interfaces are not supported HOT 2
- Import of collection to Postman ends with error "format not recognized" HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from graphman.