elasticsearch-js icon indicating copy to clipboard operation
elasticsearch-js copied to clipboard

Fix type: `function_score` can also be `QueryDslFunctionScoreContainer`

Open ohueter opened this issue 3 years ago • 2 comments
trafficstars

This PR changes the function_score type in the QueryDslQueryContainer interface from

interface QueryDslQueryContainer {
  function_score?: QueryDslFunctionScoreQuery
}

to

interface QueryDslQueryContainer {
  function_score?: QueryDslFunctionScoreQuery | QueryDslFunctionScoreContainer
}

I'm not sure if any additional files need to be changed or code needs to be auto-generated? Would appreciate your help, thanks!

Fixes #1744

Update: Signed the contributor agreement.

ohueter avatar Aug 10 '22 08:08 ohueter

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?

elasticmachine avatar Aug 10 '22 08:08 elasticmachine

💚 CLA has been signed