Closed ductaily closed 2 months ago
Here if the title and short description are same the validator throws an error. @Fannon you could help us better too to decide what to we do about this.
This rule will only cause issues when publishing to the Business Accelerator Hub, if you just have sap:core:v1
or none
as policyLevel, it does not apply.
But I think it would still be better to avoid this problem in the first place, so if SAP collagues use this plugin, they don't have to rework. Maybe we can prefix the shortDescription with something like CAP application
? In the end, the shortDescription
and description
should be explicitly provided when publishing, so something more meaningful can be put there.
Tested and looks good!
Addressing
package.name.replace(/@/,'').replace(/\//g,’')
, unless explicitly configured in cds.env.ord.namespacepackage.name.replace(/@/,'').replace(/\//g,'.')
"vendor": "customer:vendor:customer:”
package.name.replace(/@/,'').replace(/\//g,' ')
package.name.replace(/@/,'').replace(/\//g,' ')
- Description for + "package name"from https://github.com/cap-js/ord/issues/38