Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Further conversions to ChunkedXContentBuilder #114237

Merged
merged 5 commits into from
Oct 8, 2024

Conversation

thecoop
Copy link
Member

@thecoop thecoop commented Oct 7, 2024

Aimed at removing more methods from ChunkedXContentHelper

@thecoop thecoop added :Core/Infra/Core Core issues without another label >refactoring v9.0.0 labels Oct 7, 2024
@thecoop thecoop requested a review from nik9000 October 7, 2024 13:36
@thecoop thecoop force-pushed the further-chunked-xcontent-builder branch from 5b0d0d0 to 21c735f Compare October 7, 2024 13:37
Copy link
Member

@nik9000 nik9000 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The ESQL side looks good. Actually all of it looks ok if the tests are happy.

@thecoop thecoop marked this pull request as ready for review October 7, 2024 16:08
@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 Oct 7, 2024
Copy link
Contributor

@ldematte ldematte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM2

@thecoop thecoop merged commit d9dc165 into elastic:main Oct 8, 2024
16 checks passed
@thecoop thecoop deleted the further-chunked-xcontent-builder branch October 8, 2024 13:33
matthewabbott pushed a commit to matthewabbott/elasticsearch that referenced this pull request Oct 10, 2024
prdoyle pushed a commit to prdoyle/elasticsearch that referenced this pull request Oct 11, 2024
elasticsearchmachine pushed a commit that referenced this pull request Oct 11, 2024
* Create a fluent builder to help implement ChunkedToXContent (#112389)

Rather than manually adding startObject/endObject, and having to line everything up manually, this handles the start/end for you.
A few implementations are converted already. In the long run, I would like this to replace ChunkedXContentHelper.

* Convert a few more implementations to ChunkedXContentBuilder (#113125)

Remove the complex methods from ChunkedXContentHelper

* Further conversions to ChunkedXContentBuilder (#114237)

---------

Co-authored-by: Simon Cooper <simon.cooper@elastic.co>
davidkyle pushed a commit to davidkyle/elasticsearch that referenced this pull request Oct 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Core/Infra/Core Core issues without another label >refactoring Team:Core/Infra Meta label for core/infra team v8.16.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants