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

Move code detection for bindings from front-end to back-end and provide API-endpoint #211

Open
njakuschona opened this issue Mar 19, 2021 · 2 comments
Labels
enhancement New feature or request
Projects

Comments

@njakuschona
Copy link
Contributor

While creating a binding the necessary code for one plot function is detected automatically. This detection works at the moment on the front-end. The detection is implemented with ES6, which does not work on the back-end side. However it will be useful to provide an API endpoint to the detection. And run the detection on the server and just provide the result to the user.

@njakuschona njakuschona added the enhancement New feature or request label Mar 19, 2021
@nuest
Copy link
Member

nuest commented Apr 6, 2021

@NJaku01 can you be a bit more specific why ES6 does not work in the backend?

https://nodejs.org/en/docs/es6/

@nuest nuest added this to To do in Bindings Apr 6, 2021
@njakuschona
Copy link
Contributor Author

NodeJS supports ES6 with generation 13 and up. However, in the bindings we use version 8 https://github.com/o2r-project/o2r-UI/blob/master/ui/bindings/Dockerfile#L22. I have already tried to update it to version 13 some times ago, but it not worked so easy. I just remembered this enhancement, while working with the bindings and wanted to add it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

2 participants