@sap/cds-compiler 5.9.0 → 5.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/lib/edm/csn2edm.js +0 -5
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,13 @@
|
|
|
7
7
|
Note: `beta` fixes, changes and features are usually not listed in this ChangeLog but [here](doc/CHANGELOG_BETA.md).
|
|
8
8
|
The compiler behavior concerning `beta` features can change at any time without notice.
|
|
9
9
|
|
|
10
|
+
## Version 5.9.2 - 2025-04-04
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- to.edm(x): Revert addition of the attribute sap:filterable="false" to the NavigationProperty DraftAdministrativeData in OData V2
|
|
15
|
+
|
|
16
|
+
|
|
10
17
|
## Version 5.9.0 - 2025-03-28
|
|
11
18
|
|
|
12
19
|
### Added
|
package/lib/edm/csn2edm.js
CHANGED
|
@@ -479,11 +479,6 @@ function csn2edmAll( _csn, _options, serviceNames, messageFunctions ) {
|
|
|
479
479
|
}
|
|
480
480
|
else {
|
|
481
481
|
addAssociationV2(np);
|
|
482
|
-
// add sap:filterable, if this is DraftAdministrativeData
|
|
483
|
-
if (np._csn.name === 'DraftAdministrativeData' &&
|
|
484
|
-
(np._csn._parent['@Common.DraftRoot.PreparationAction'] || np._csn._parent['@Common.DraftNode.PreparationAction']) &&
|
|
485
|
-
(np._csn._parent.actions && np._csn._parent.actions.draftPrepare))
|
|
486
|
-
np._edmAttributes['sap:filterable'] = false;
|
|
487
482
|
}
|
|
488
483
|
});
|
|
489
484
|
|