Skip to content

[7.x] Update schemas boolean, byteSize, and duration to coerce strings (#54177)#54299

Merged
jportner merged 1 commit intoelastic:7.xfrom
jportner:backport/7.x/pr-54177
Jan 8, 2020
Merged

[7.x] Update schemas boolean, byteSize, and duration to coerce strings (#54177)#54299
jportner merged 1 commit intoelastic:7.xfrom
jportner:backport/7.x/pr-54177

Conversation

@jportner
Copy link
Copy Markdown
Contributor

@jportner jportner commented Jan 8, 2020

Backports the following commits to 7.x:

…stic#54177)

* Update Duration to coerce number strings to numbers (in millis)

* Coerce in a way that's consistent with kbn-config-schema

* Update ByteSizeValue to coerce strings to numbers

* Update Boolean to coerce strings to boolean values

* Fix Jest test

* Address PR review feedback

* Whoops

* Whoops 2

* Whoops 3
@jportner jportner added the backport This PR is a backport of another PR label Jan 8, 2020
@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@jportner jportner merged commit f2f47eb into elastic:7.x Jan 8, 2020
@jportner jportner deleted the backport/7.x/pr-54177 branch January 8, 2020 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants