graphql-spring-webclient
graphql-spring-webclient copied to clipboard
More than one client url
Is your feature request related to a problem? Please describe. At the moment it is just possible to have one URL client
graphql:
client:
url: https://graphql.github.com/graphql
Describe the solution you'd like Define by application.yml your own URLs
app:
graphql:
one-client:
url: https://graphql.github.com/graphql
two-client:
url: https://graphql.github.com/graphqltwo
Describe alternatives you've considered
Using RestTemplate you can define URL as you want
restTemplate.postForObject(url, httpEntity, ResponseDto.class)
Additional context