Commit Graph

13 Commits

Author SHA1 Message Date
46bd14a36c Better api error handling (#790)
* API generation

* Updated code generation

* Updated test
2019-03-26 12:04:44 +01:00
c53c798899 feat: add support for querystring in options object (#779)
In very few cases, some API uses the same key for both url and query params, such as the bulk method.
The client is not designed to handle such cases since accepts both url and query keys in the same object, and the url parameter will always take precedence.
This pr fixes this edge case by adding a `querystring` key in the options object.

Fixes: https://github.com/elastic/elasticsearch-js/pull/778

```js
client.bulk({
  index: 'index',
  type: '_doc',
  body: [...]
}, {
  querystring: {
    type: '_doc'
  }
}, console.log)
```
2019-03-15 18:09:44 +01:00
2ca3754d20 API generation 2019-03-13 14:12:38 +01:00
5c6c5dea78 API generation 2019-03-11 18:34:39 +01:00
cae38e6b2b License (#773)
- Added license header
- Added license checker
- Fixed tap
2019-03-08 07:47:24 +01:00
0355322ef4 API generation 2019-02-12 16:39:49 +01:00
23cfe11e44 Unknown parameters handling (#761) 2019-01-29 17:31:43 +01:00
7acd2e3b07 Elasticsearch 7 support 🚀 (#760)
* API generation

* Updated typings

* Updated code generation

* Updated test

* Updated ci configuration

* Fixed test
2019-01-29 12:10:20 +01:00
396686ee77 API generation 2018-12-13 16:53:21 +01:00
ab90797b65 API generation 2018-12-12 16:53:30 +01:00
1d696ba0d6 API generation 2018-11-15 17:46:33 +01:00
2d3701d7e9 API generation 2018-11-05 19:17:55 +01:00
55c507c423 API generation 2018-10-30 17:26:22 +01:00