Closed nik9000 closed 2 weeks ago
I'm not sure what's up with the failure here. It looks like it doesn't like:
tables?: Dictionary<
string,
Dictionary<string, SingleKeyDictionary<TableValuesType, any>>
>
The SingleKeyDictionary<TableValuesType, any>
doesn't feel quite right, but I'm not sure how tightly you need it here. That could be: {"long": [long|[long]]}
/{"int": [int|[int]]}
/{"keyword": [string|[string]]}
/{"double": [double|[double]]}
. But I don't know how to write that.
I would model it like this:
// the naming should probably get improved
export type TableValuesData = long | int | string | double
export type TableValuesDataPayload = TableValuesData | TableValuesData[]
tables?: Dictionary<
string,
Dictionary<string, SingleKeyDictionary<TableValuesType, TableValuesDataPayload[]>>
>
Btw: any
is invalid in the specification (note the failed validation). Instead, the UserDefinedValue
might be used.
Btw:
any
is invalid in the specification (note the failed validation). Instead, theUserDefinedValue
might be used.
Gotcha. I'll do it like you said without any
. That's just better and not hard.
@flobernd have a look now!
Following you can find the validation results for the APIs you have changed.
API | Status | Request | Response |
---|---|---|---|
esql.async_query_get |
:orange_circle: | Missing type | Missing type |
esql.async_query |
:orange_circle: | Missing type | Missing type |
esql.query |
:red_circle: | 233/233 | 12/233 |
You can validate these APIs yourself by using the make validate
target.
esql.query
Hey! I was testing that with make validate api=esql.query type=request branch=main
locally. That does seem better. Though the response is defined as an ArrayBuffer
so I think that should be skipped.
Following you can find the validation results for the APIs you have changed.
API | Status | Request | Response |
---|---|---|---|
esql.async_query_get |
:orange_circle: | Missing type | Missing type |
esql.async_query |
:orange_circle: | Missing type | Missing type |
esql.query |
:red_circle: | 233/233 | 12/233 |
You can validate these APIs yourself by using the make validate
target.
Following you can find the validation results for the APIs you have changed.
API | Status | Request | Response |
---|---|---|---|
esql.async_query_get |
:orange_circle: | Missing type | Missing type |
esql.async_query |
:orange_circle: | Missing type | Missing type |
esql.query |
:red_circle: | 233/233 | 12/233 |
You can validate these APIs yourself by using the make validate
target.
Following you can find the validation results for the APIs you have changed.
API | Status | Request | Response |
---|---|---|---|
esql.async_query_get |
:orange_circle: | Missing type | Missing type |
esql.async_query |
:orange_circle: | Missing type | Missing type |
esql.query |
:red_circle: | 233/233 | 12/233 |
You can validate these APIs yourself by using the make validate
target.
Following you can find the validation results for the APIs you have changed.
API | Status | Request | Response |
---|---|---|---|
esql.async_query_get |
:orange_circle: | Missing type | Missing type |
esql.async_query |
:orange_circle: | Missing type | Missing type |
esql.query |
:red_circle: | 233/233 | 12/233 |
You can validate these APIs yourself by using the make validate
target.
Following you can find the validation results for the APIs you have changed.
API | Status | Request | Response |
---|---|---|---|
esql.async_query_get |
:orange_circle: | Missing type | Missing type |
esql.async_query |
:orange_circle: | Missing type | Missing type |
esql.query |
:red_circle: | 233/233 | 12/233 |
You can validate these APIs yourself by using the make validate
target.
Renamed. I've marked this auto-merge because I think that's what we want. I think I'm waiting on a final review.
Following you can find the validation results for the APIs you have changed.
API | Status | Request | Response |
---|---|---|---|
esql.async_query_get |
:orange_circle: | Missing type | Missing type |
esql.async_query |
:orange_circle: | Missing type | Missing type |
esql.query |
:red_circle: | 233/233 | 12/233 |
You can validate these APIs yourself by using the make validate
target.
Thanks for the feedback folks!
Adds support for the
tables
parameter and documents theprofile
option.