Skip to content

Introduce discoveryRequest() and executionRequest() aliases in builders #4865

@sbrannen

Description

@sbrannen

LauncherDiscoveryRequestBuilder.request() and LauncherExecutionRequestBuilder.request() currently compete with each other if users wish to use static imports for both of those methods.

Technically, one can use static imports for both of those methods side by side; however, that results in code which is a bit confusing for the reader.

To address that and improve the programming model, we should introduce discoveryRequest() and executionRequest() aliases in those builders, respectively.

This aligns with existing aliased methods such as Arguments.of()/Arguments.arguments(), Named.of()/Named.named(), etc.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions