RequestHandler should be able to pass additional details in the response body #100648
Labels
Feature:http
Team:Core
Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
technical debt
Improvement of the software architecture and operational architecture
triage_needed
As I plugin author, I should be able to pass any data in the response body
kibana/src/core/server/status/routes/status.ts
Line 164 in 987c736
The only way to pass error details in the response body is via the
attributes
property. It works in a hapi-compatible manner and stores a passed object underattributes
property in the response body. For cases when a plugin needs to pass additional data in the response body, we have to use a workaround.The text was updated successfully, but these errors were encountered: