Open njakuschona opened 3 years ago
@NJaku01 can you be a bit more specific why ES6 does not work in the backend?
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.
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.