Skip to content

Commit f4d650e

Browse files
committed
Add TODO comment.
1 parent 34a7b05 commit f4d650e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

x-pack/legacy/plugins/canvas/server/lib/build_embeddable_filters.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@
77
import { Filter } from '../../types';
88
// @ts-ignore Untyped Local
99
import { buildBoolArray } from './build_bool_array';
10+
11+
// TODO: We should be importing from `data/server` below instead of `data/common`, but
12+
// need to keep `data/common` since the contents of this file are currently imported
13+
// by the browser. This file should probably be refactored so that the pieces required
14+
// on the client live in a `public` directory instead. See kibana/issues/52343
1015
// eslint-disable-next-line @kbn/eslint/no-restricted-paths
1116
import { TimeRange, esFilters } from '../../../../../../src/plugins/data/common';
1217

0 commit comments

Comments
 (0)