Open
Description
Are there any guidelines or suggestions around the best way to construct LTR queries using the Go Typed-API client? The client doesn't have support for keywords and structs like sltr
. The only option I could think of was:
- Construct most of the query, without LTR, using the typed-api client
- Marshal the Request into a json-string
- Unmarshal the json-string into a generic
map[string]interface{}
- Insert the LTR portion of the query into the above generic map
- Marshal the updated query back into a json
- Use the
raw json
functionality to run the updated query
Is there a better way of accomplishing the above?
Metadata
Metadata
Assignees
Labels
No labels