[7.x] Allow routes to define some payload config values (#50783)#51864
Merged
afharo merged 1 commit intoelastic:7.xfrom Nov 28, 2019
Merged
[7.x] Allow routes to define some payload config values (#50783)#51864afharo merged 1 commit intoelastic:7.xfrom
afharo merged 1 commit intoelastic:7.xfrom
Conversation
* Allow routes to define some payload config values * Documentation typo * Move hapi `payload` config under `body` + additional validations * Update API docs * Amend explanation in API docs * Add stream and buffer types to @kbn/config-schema * Fixes based on PR feedback: - Add 'patch' and 'options' to valid RouteMethod - Add tests for all the new flags - Allow `stream` and `buffer` schema in the body validations (findings from tests) * API documentation update * Fix type definitions * Fix the NITs in the PR comments + better typing inheritance * API docs update * Fix APM-legacy wrapper's types * Fix KibanaRequest.from type exposure of hapi in API docs * Move RouterRoute interface back to private + Expose some public docs * Update @kbn/config-schema docs
Contributor
💚 Build Succeeded |
jloleysens
added a commit
to jloleysens/kibana
that referenced
this pull request
Nov 28, 2019
* upstream/7.x: Move saved queries service + language switcher ⇒ NP (elastic#51812) (elastic#51863) [Dependencies]: upgrade react to latest v16.12.0 (elastic#51145) (elastic#51868) Allow routes to define some payload config values (elastic#50783) (elastic#51864) [ML] Re-activate after method in transform test (elastic#51815) (elastic#51858) fixes pagination tests (elastic#51822) (elastic#51830) shim visualizations plugin (elastic#50624) (elastic#51801) [SIEM][Detection Engine] Change security model to use SIEM permissions (elastic#51848)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backports the following commits to 7.x: