Skip to content

Conversation

rjernst
Copy link
Member

@rjernst rjernst commented Apr 6, 2025

TransportMessage is unnecessarily an abstract class, which is more rigid when trying to refactor due to only being able to extend a single class. This commit makes TransportMessage an interface with default methods.

TransportMessage is unnecessarily an abstract class, which is more rigid
when trying to refactor due to only being able to extend a single class.
This commit makes TransportMessage an interface with default methods.
@rjernst rjernst added :Core/Infra/Transport API Transport client API >refactoring auto-backport Automatically create backport pull requests when merged v8.19.0 v9.1.0 labels Apr 6, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (Team:Core/Infra)

@elasticsearchmachine elasticsearchmachine added the Team:Core/Infra Meta label for core/infra team label Apr 6, 2025
@DaveCTurner
Copy link
Contributor

Honestly we could just drop this base class entirely, see #126375.

@rjernst
Copy link
Member Author

rjernst commented Apr 7, 2025

Closing in favor of #126375

@rjernst rjernst closed this Apr 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport Automatically create backport pull requests when merged :Core/Infra/Transport API Transport client API >refactoring Team:Core/Infra Meta label for core/infra team v8.19.0 v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants