·
3 commits
to refs/heads/main
since this release
Minor Changes
- feat: add ability to propagate HTTP headers with callbacks (#435) @dariuszkuc
Adds a mechanism for propgating HTTP headers from the original GraphQL subscription request to the subsequent callback responses.
@Bean
public CallbackWebGraphQLInterceptor callbackGraphQlInterceptor(
SubscriptionCallbackHandler callbackHandler) {
var headers = Set.of("X-Custom-Header", "X-Custom-Header2");
return new CallbackWebGraphQLInterceptor(callbackHandler, headers);
}