cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Server side Javascript modules / import

Server side Javascript modules / import

There are many cases, where we have short helper functions or even classes (e.g. enums) that should be available for all Services by an "import" statement. 

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import

It's partly possible to implement this kind of functions as Ressources, but ...
- These need to be implemented in Java, which makes the implementation more complicate

- On Runtime we need to marshal all the parameters and return values

 

Storing these little helpers in a central file could enable easy functionality like enums, reduce error sources.

 

 

 

1 Comment
olivierlp
Community Manager
Status changed to: No Plans to Implement

Thank you. But no plans to implement at this time.