Tag: netflix-dgs
-
How to pass request headers when using java netflix graphql client?
0 I am using com.netflix.graphql.dgs:graphql-dgs-client:4.9.16 along with HttpClient (JDK 17) I am creating graphql client using below. GraphQLCLient graphQLClient = GraphQLClient.createCustom( host-url, requestExecutor::exec); And my request executor is based on HttpClient and it’s implementation is roughly as below – import com.netflix.graphql.dgs.client.HttpResponse; import java.net.URI; import java.net.http.HttpClient; import java.net.http.HttpClient.Version; import java.net.http.HttpRequest; import java.net.http.HttpRequest.BodyPublishers; import java.util.List; import java.util.Map;…
-
Using netflix-dgs with WebFlux
0 This might be a dumb questions, with me being a novice getting starting with the whole reactive programming methodology. Task: But I’m working on developing a Spring Boot Netflix DGS based GraphQL API Implementation: So I am using the standard netflix platform dgs libraries and scalars and all that, and in addition i just…