rules
rules copied to clipboard
Introduce @Rule decorator to annotate model
Hi @fkolar,
we recently discussed how to use a builder to run OSS compilation. Maybe we can do it simpler with a custom webpack configuration.
I have seen this in a project that allows the use of PUG-templates in Angular CLI: https://github.com/danguilherme/ng-cli-pug-loader
I do not know what impact this could have on i18n. That's why I am not sure if this is a proper solution.
Interesting, this why we also also solve the i18n , to extract i18n metaui to i18n Angular format.
As discussed on the call we will break this down into several phase:
- Use existing oss.js script that we use to convert OSS to OSS.ts and turn this into TS along with its own tsConfig
- Once we have oss.ts we will update this with new logic that will extra metadata information and add them to the decorator.
- The assumption here is that in the first phase we are not going to have ossUrl:'./xxxxxx.oss' in our decorator but we will work always with minified string and we will expect the oss is always in the same directory Entity.