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

ReactExpressionRenderer does not support custom ExpressionsService #59744

Closed
timroes opened this issue Mar 10, 2020 · 3 comments
Closed

ReactExpressionRenderer does not support custom ExpressionsService #59744

timroes opened this issue Mar 10, 2020 · 3 comments
Assignees
Labels
Feature:ExpressionLanguage Interpreter expression language (aka canvas pipeline)

Comments

@timroes
Copy link
Contributor

timroes commented Mar 10, 2020

There should be a way that the ReactExpressionRenderer can use a forked version of the ExpressionsService. Currently you cannot use the component with a fork. This is blocking #58333.

I think either the react component should accept an ExpressionsService as a property, or the ExpressionsService itself should have a property, for an already prebound ReactExpressionRenderer.

Parent issue: #46909

@timroes timroes added Feature:ExpressionLanguage Interpreter expression language (aka canvas pipeline) Team:AppArch labels Mar 10, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app-arch (Team:AppArch)

@streamich
Copy link
Contributor

streamich commented Mar 30, 2020

Just leaving a note here for our planning: I think it is better to create a new component that uses ExpressionExecution directly. It should be easy to do as ExpressionExecution has a state container to which we can connect that new component. And that component could be a property on ExpressionService.

@streamich
Copy link
Contributor

Closing this as we are moving away from using forks and instead function definition interface will be extended with additional info.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:ExpressionLanguage Interpreter expression language (aka canvas pipeline)
Projects
None yet
Development

No branches or pull requests

3 participants