Comments (10)
Yeah, I'll think I can update it now
from pioneer.
Not going to lie, it's a bit weird that it is disabled by default. It should be functioning properly now on v0.6.1. Do let me know if there are more things like this.
from pioneer.
Yeah I agree it's a bit weird that's the default.
Will do. Thanks for being so quick to respond! I'll recommend your library to my friends.
from pioneer.
I'm not entirely sure the best way to accomplish this. There could be another parameter in the Pioneer init to include a list of headers, or maybe a specific parameter for adding a bearer token? This would be immensely helpful to allow Pioneer to work in production.
from pioneer.
Actually it looks like some versions of GraphiQL have a way to add headers. Would this be a better option?
from pioneer.
from pioneer.
Yeah, I didn't notice that, I remembered GraphiQL having one. In this issue, it said that older version of GraphiQL used to have the feature to add headers and that the current version have a bug that somehow removed it. I'll see what I can do beside waiting for that issue to be resolved.
In the mean time, if you don't have to specifically use GraphiQL, you could try using .playground
and setting the websocket protocol to .subscriptionTransportWs
from pioneer.
It looks like GraphiQL might already support this. Is this a simple change in the config?
from pioneer.
It sounds like all we need to do is pass in the headerEditorEnabled prop
from pioneer.
Awesome!
from pioneer.
Related Issues (20)
- Public structs have no public initialisers
- After pausing the websocket connection from Apollo iOS, it can't reconnect. HOT 12
- Documentation search is pointing to incorrect path HOT 2
- Better typing for payload HOT 1
- Improvement to Test HOT 1
- Improvement to optional spec-compliant HOT 4
- Field Resolve Middleware HOT 1
- VaporMiddleware responding incorrectly to all paths HOT 7
- Plugins
- Error: 'ConcurrentResolve' is only available in macOS 12 or newer HOT 4
- TestConsumer Improvement
- subscription Precondition failed HOT 13
- Subscription via gateway HOT 3
- Improvement to spec-compliant HOT 1
- Value null in data on errors HOT 8
- GraphQL over WebSocket validation and timeout on init
- JSON Incorrectly Encoded HOT 7
- Custom Directives HOT 2
- Contributing Guide
- `websocketOnInit` has not been implemented
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 pioneer.