You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
streamich
changed the title
[plugins.data.expressions] Remove @kbn/interpreter dependency
[Expressions] Remove @kbn/interpreter dependency
Aug 27, 2019
/common
folder, so same implementation is shared by browser and server.@kbn/interpreter
.Registry
classnew Map
to store items by ID..wrapper()
.getProp
(if possible)@kbn/interpreter
.fromExpression
andtoExpressions
- still importing these but created wrappers and re-exporting those.getType
getByAlias
castProvider
Ast
Registry
Remove.toJS()
from registriesinitializeInterpreter()
andinterpretAst()
, replace byrun()
function.interpreterProvider()
functioncontext
toinput
.handlers
tocontext
.expressions
plugin state (registries)Could have:
context
field in function definition toinputTypes
.Simplify highest level interfaces (loader, renderer).Follow up work:
@kbn/interpreter
PEG.js build step toexpressions
plugin.@kbn/interpreter
toExpression()
function toexpressions
plugin.ExpressionDataHandler
in favor ofExecution
.Parent issue: #46909
The text was updated successfully, but these errors were encountered: