Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document custom validation for NP HTTP request #45376

Closed
mshustov opened this issue Sep 11, 2019 · 1 comment · Fixed by #47699
Closed

Document custom validation for NP HTTP request #45376

mshustov opened this issue Sep 11, 2019 · 1 comment · Fixed by #47699
Assignees
Labels
Feature:New Platform Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc

Comments

@mshustov
Copy link
Contributor

The current implementation forces plugins to use @kbn/config-schema package to define validation rules for HTTP request params, query & body. Several solution teams already use io-ts package for this purpose. It helps them to share validation rules and typings on the client-side and server-side.
We need to document how plugins may use alternative packages for HTTP request validation.
Related discussion: #44170

@mshustov mshustov added Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc Feature:New Platform labels Sep 11, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-platform

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:New Platform Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants