Skip to content

[7.x] [APM] migrate to io-ts (#42961)#43674

Merged
dgieselaar merged 1 commit intoelastic:7.xfrom
dgieselaar:backport/7.x/pr-42961
Aug 21, 2019
Merged

[7.x] [APM] migrate to io-ts (#42961)#43674
dgieselaar merged 1 commit intoelastic:7.xfrom
dgieselaar:backport/7.x/pr-42961

Conversation

@dgieselaar
Copy link
Contributor

Backports the following commits to 7.x:

* [APM] migrate to io-ts

* Migrate remaining routes to io-ts

* Infer response type for useFetcher()

* Review feedback

* Use createRangeType util

* Extract & test runtime types

* Simplify runtime types

* Tests for createApi and callApmApi

* Use more readable variable names in runtime types

* Remove UIFilters query param for API endpoints where it is not supported

* Fix issues w/ default parameters in create_api
@dgieselaar dgieselaar added the backport This PR is a backport of another PR label Aug 21, 2019
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@dgieselaar dgieselaar merged commit 3f48d83 into elastic:7.x Aug 21, 2019
@dgieselaar dgieselaar deleted the backport/7.x/pr-42961 branch August 21, 2019 15:04
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