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

Change CustomResponseBuilder property setter to public #106

Merged
merged 1 commit into from
Mar 21, 2024

Conversation

flobernd
Copy link
Member

The ESQL search endpoint returns a response with byte[] body and we need a way to create an ElasticsearchResponse from a non-JSON body.

This PR changes the setter of CustomResponseBuilder property setter to public and as well exposes the ApiCallDetails.ResponseMimeType property to - in a later phase - be able to deserialize the body based on the actual MIME-type (e.g. json, csv, arrow, ...).

Copy link
Member

@Mpdreamz Mpdreamz left a comment

Choose a reason for hiding this comment

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

Lgtm

@flobernd flobernd merged commit e681f15 into main Mar 21, 2024
4 checks passed
@flobernd flobernd deleted the custom-response-builder branch March 21, 2024 11:00
@flobernd flobernd added enhancement New feature or request v0.4.18 labels Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request v0.4.18
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants