Skip to content

Fix errors in type definitions#1263

Merged
delvedor merged 2 commits intomasterfrom
fix-types
Jul 20, 2020
Merged

Fix errors in type definitions#1263
delvedor merged 2 commits intomasterfrom
fix-types

Conversation

@delvedor
Copy link
Copy Markdown
Member

@delvedor delvedor commented Jul 20, 2020

  • The ignore paramater is part of the request options and not the request params.
  • In the rest-api-spec boolean are written as string ('true' and false'), this pr generates them as boolean.

The type definition fix will be generated once in master, 7.x, and 7.9.
Related: elastic/kibana#72388 elastic/kibana#72289

}
return true
})
if (foundTrue && foundFalse) {
Copy link
Copy Markdown
Contributor

@mshustov mshustov Jul 20, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can imagine an endpoint with false | 'some_string' parameter.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know, I'm being overcautious here :D

Copy link
Copy Markdown
Contributor

@mshustov mshustov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are you going to release it as rc2?
are we still waiting for the ES team response on the deleteByNamespace interface?

@delvedor
Copy link
Copy Markdown
Member Author

are you going to release it as rc2?

Yes, I'll release as many as we need until we solve elastic/kibana#70431.

are we still waiting for the ES team response on the deleteByNamespace interface?

I've just asked, but we can merge this one in the meantime already.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants