Hello …I am using https://github.com/walmartlabs/lacinia-pedestal … I am trying to set cookies/headers as part of a response to a resolver … has anyone done this before ?
You can resolve with context, set it in the context and then use an interceptor to read it from the context and set the headers in the leave phase
@oliy that was what I tried first, but it seems that new context is set only for resolvers below, it is not available on interceptors on its way out
I ended up using with-extensions
and set the header on an interceptor’s leave