Skip to content

Commit

Permalink
Merge pull request #1939 from jmartisk/quarkus36469
Browse files Browse the repository at this point in the history
Prevent null dynamicHeaders
  • Loading branch information
phillip-kruger authored Oct 17, 2023
2 parents 6f8b083 + 2640bc9 commit ef73d3d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import static io.smallrye.graphql.client.impl.GraphQLClientsConfiguration.getConfiguredHeaders;

import java.util.HashMap;
import java.util.Optional;

import org.eclipse.microprofile.config.Config;
Expand Down Expand Up @@ -44,6 +45,7 @@ private void buildUrl() {

private void buildHeaders() {
clientConfiguration.setHeaders(getConfiguredHeaders(configKey, mpConfig));
clientConfiguration.setDynamicHeaders(new HashMap<>());
}

GraphQLClientConfiguration getClientConfiguration() {
Expand Down

0 comments on commit ef73d3d

Please sign in to comment.