Hi,
I am currently in the process of writing a custom fetcher. In the process I noticed, that the event type for the serach and its results are identical. This is inconvenient for Event serialization, it would be better to use different identifiers for the search request and the search results.
The result is that when serde tries do deserialize the SerachResult event received it thinks it is of type Search and complains about missing fields: Error: missing field 'path'.
It would be far better if the Event type was unique like so:
Hi, I am currently in the process of writing a custom fetcher. In the process I noticed, that the event type for the serach and its results are identical. This is inconvenient for Event serialization, it would be better to use different identifiers for the search request and the search results.
Current State
The result is that when serde tries do deserialize the SerachResult event received it thinks it is of type Search and complains about missing fields:
Error: missing field 'path'
.It would be far better if the Event type was unique like so:
Kind regads, ju6ge