Skip to content

Provide a way to override request Url #88

Open
@lukasjapan

Description

@lukasjapan

Is your feature request related to a problem? Please describe.
When having a customized WebClient bean that sets its own baseUrl, all requests go to that URL instead of graphql.client.url because setup is omitted.
There is no way to override url. (Is there?)

Ref:

Describe the solution you'd like

provide a way to set the url on a per request basis in the request builder

or

graphql-spring-webclient sets .uri() based on the config value for each request.

->

WebClient.RequestBodySpec spec = webClient.post().contentType(MediaType.APPLICATION_JSON);

or both

Describe alternatives you've considered

Multiple WebClient Beans + manually wiring the correct one to GraphQLWebClient but its too technical

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions