graphql-spring-webclient icon indicating copy to clipboard operation
graphql-spring-webclient copied to clipboard

More than one client url

Open RicardoRB opened this issue 3 years ago • 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

RicardoRB avatar Feb 09 '21 09:02 RicardoRB