Comments (6)
I added this feature in v0.6.0. If you have more to add, I'll reopen this issue
from pioneer.
That was fast! Exactly what I needed. Thanks!
from pioneer.
It is a simple change, I haven't implemented yet since I thought for the most part you can move that portion of the code into the resolver, so it's not urgent.
from pioneer.
I'll probably start implementing that change soon. It would also make sense to make the context builder an async throwing function
from pioneer.
I don't think it really can be moved to the resolver because you'd need it in every root resolver right?
I agree that it should be an async throwing function.
from pioneer.
I think it can be moved there, but yes, you will have to move it to all resolvers or at the very least add a method into the context that needed to be called to verify something like the JWT.
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
- Agnostic Server Library HOT 1
- Use operation specific Response to return an GraphQL Result when formatting thrown error by resolver
- AbortError headers are ignored HOT 2
- Ambiguous use of async `init` on `Field` and `SubscriptionField`
- 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.