Skip to content

Conversation

flobernd
Copy link
Member

@flobernd flobernd commented Aug 14, 2025

The RequestResponseConverter<T> allows to (de-)serialize certain properties of user defined document POCO types using the RequestResponse serializer.

This is important in cases where the document must contain Elastic.Clients.Elasticsearch types like e.g. when storing percolated queries.

Additionally makes all handcrafted JsonConverters public (using a .Json sub-namespace of the type). This is a requirement to be compatible with System.Text.Json source-generation (JsonSerializerContext and JsonSerializable attribute).

Closes #8003

@flobernd flobernd force-pushed the request-response-serializer branch from eb2c809 to a7a5a18 Compare August 14, 2025 09:17
@flobernd flobernd force-pushed the request-response-serializer branch from 33bf55c to 8495795 Compare August 14, 2025 14:36
@flobernd flobernd merged commit 8d2af7e into main Aug 19, 2025
26 checks passed
@flobernd flobernd deleted the request-response-serializer branch August 19, 2025 11:32
github-actions bot pushed a commit that referenced this pull request Aug 19, 2025
…sonConverter`s public (#8669)

(cherry picked from commit 8d2af7e)
github-actions bot pushed a commit that referenced this pull request Aug 19, 2025
…sonConverter`s public (#8669)

(cherry picked from commit 8d2af7e)
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.19
9.1

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ElasticSearch incorrecly serialize percolated queries
1 participant