Hi,
I'm currently using XSDS library for a cloud based XS app we are developing. In the following blog by Thomas, it is recommended to pre-generate the CDS Entity imports, but I can't figure out how? Can anyone help me?
Text from the blog:
"
Import Pre-Generation
However, this import of the metadata from the underlying model can be a relatively costly operation. Because the XSJS programming model is stateless this often creates the situation where you must re-import the CDS metadata for every single request.
For this reason the XSDS library also support pregeneration of imports in order to improve performance. The library serializes the result of the import into a single reusable XSJSLIB file. Therefore instead of importing the entity from the HDBDD artifact you can use standard $.import feature of XSJS to utilize this prebuilt library definition."