Skip to content

v5.4.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 10 Apr 17:59
· 3 commits to refs/heads/main since this release
e598034

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);
}