mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
Remove legacy response handler (#28985)
This commit is contained in:
parent
ea6651a8f6
commit
b2f1cc4d25
1 changed files with 8 additions and 3 deletions
|
@ -17,7 +17,14 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
import { VisResponseHandlersRegistryProvider } from '../../registry/vis_response_handlers';
|
||||
/**
|
||||
* The LegacyResponseHandler is not registered as a response handler and can't be used
|
||||
* as such anymore. Since the function itself is still used as a utility in the table
|
||||
* function and the vislib response handler, we'll keep it for now.
|
||||
* As soon as we have a new table implementation (https://github.com/elastic/kibana/issues/16639)
|
||||
* we should move this over into or close to the vislib response handler as a pure utility
|
||||
* function.
|
||||
*/
|
||||
|
||||
const LegacyResponseHandlerProvider = function () {
|
||||
|
||||
|
@ -77,6 +84,4 @@ const LegacyResponseHandlerProvider = function () {
|
|||
};
|
||||
};
|
||||
|
||||
VisResponseHandlersRegistryProvider.register(LegacyResponseHandlerProvider);
|
||||
|
||||
export { LegacyResponseHandlerProvider };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue