@sap/cds 8.4.1 → 8.4.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 +6 -0
- package/lib/core/classes.js +5 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,12 @@
|
|
|
4
4
|
- The format is based on [Keep a Changelog](http://keepachangelog.com/).
|
|
5
5
|
- This project adheres to [Semantic Versioning](http://semver.org/).
|
|
6
6
|
|
|
7
|
+
## Version 8.4.2 - 2024-11-13
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- `cds.compile.to.edmx` if using the new builtin type `cds.Map`
|
|
12
|
+
|
|
7
13
|
## Version 8.4.1 - 2024-11-07
|
|
8
14
|
|
|
9
15
|
### Fixed
|
package/lib/core/classes.js
CHANGED
|
@@ -147,6 +147,10 @@ class type extends any { is(kind) { return kind === 'type' || super.is(kind) }
|
|
|
147
147
|
}
|
|
148
148
|
}
|
|
149
149
|
|
|
150
|
+
class Map extends struct {
|
|
151
|
+
get elements() { return this.set('elements', new LinkedDefinitions) }
|
|
152
|
+
}
|
|
153
|
+
|
|
150
154
|
class context extends any {}
|
|
151
155
|
class service extends context {
|
|
152
156
|
|
|
@@ -190,7 +194,7 @@ module.exports = {
|
|
|
190
194
|
|
|
191
195
|
LinkedDefinitions,
|
|
192
196
|
|
|
193
|
-
any, type, aspect, struct, array,
|
|
197
|
+
any, type, aspect, struct, array, Map,
|
|
194
198
|
scalar, boolean, string, number, date,
|
|
195
199
|
service, event, action, function: action,
|
|
196
200
|
context,
|