graphql-java-kickstart/graphql-spring-webclient

More than one client url

RicardoRB opened this issue · 0 comments

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