-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade ES client to 9.0.0-alpha.4 #213375
base: main
Are you sure you want to change the base?
Changes from all commits
08bfae4
f5331db
a6914f0
5768f66
44111e1
95bfd88
fef6073
81978d7
a99c19e
8e9e4b1
46f07b8
758c576
f63c1c1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -194,8 +194,7 @@ export const executeUpdate = async <T>( | |
refresh, | ||
document: rawUpsert._source, | ||
...(version ? decodeRequestVersion(version) : {}), | ||
// @ts-expect-error | ||
require_alias: true, | ||
querystring: { require_alias: true }, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @JoshMock, here's a missing query parameter in the spec. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks, I opened elastic/elasticsearch-specification#3954 to add it (plus a bunch of others that were also missing). |
||
}; | ||
|
||
const { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
require_alias
is accepted by theIndexRequest
but not theCreateRequest
, so I went with thequerystring
passthrough for both here.