Vitali Stsepaniuk
Vitali Stsepaniuk
> Change the class of the UINavigationController to CRNavigationController, in the Storyboard. It's not working because from storyboard it's use - (id)initWithCoder:(NSCoder *)aDecoder method. Any other solution?
I would like also to forward some request headers to the upstream service from dataloader, having ctx: &Context
Example Scenario of Context: Forwarding Authentication Headers in a GraphQL Federation We are building a GraphQL federation that consists of a supergraph and multiple subgraphs. One common requirement is to...
Where do you put them "at the beginning of the request", do you mean something like Extension::prepare_request? But how to access headers in extension?
So you suggest to do something like: ```rust pub async fn graphql_handler( headers: HeaderMap, req: GraphQLRequest, ) -> GraphQLResponse { ... req = req.data(MyLoader::new(Arc::from(headers))); schema.execute(req).await.into() } ```
@sunli829 wdyt?