Servlet Filter with ThreadLocal in DGS #570
-
|
Stack: Case: Issue: What would be recommended ways to resolve this kind of issue? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
You use the custom context mechanism for this: https://netflix.github.io/dgs/datafetching/#using-context, specifically the |
Beta Was this translation helpful? Give feedback.
You use the custom context mechanism for this: https://netflix.github.io/dgs/datafetching/#using-context, specifically the
DgsCustomContextBuilderWithRequest, which gives access to the headers in the builder.