Trouble Defining Lifetime on Context with Juniper and Rocket Async #850
Labels
k::integration
Related to integration with third-party libraries or systems
lib::rocket
Related to `rocket` crate integration
support
Milestone
I need to define a lifetime on my Context so I can gain access to Cookies in Rocket, but after defining the lifetime I get a compile error on the
get_graphql_handler
request handler.A simplified version (without the Cookies) which has the same compile error:
Results in the following compile errors:
I have created an example here: https://github.com/JonRCahill/juniper_context_lifetimes
Any ideas what I need to do to get this to compile?
The text was updated successfully, but these errors were encountered: