Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support for cds.Map #404

Merged
merged 6 commits into from
Feb 19, 2025
Merged

feat: support for cds.Map #404

merged 6 commits into from
Feb 19, 2025

Conversation

johannes-vogel
Copy link
Contributor

No description provided.

@@ -105,6 +105,13 @@ declare class struct<K extends kinds = 'elements' | 'type'> extends type<K> impl
elements: Definitions<type<'type'>>
}

/**
* @see [capire](https://cap.cloud.sap/docs/node.js/cds-reflect#cds-entity)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO

* @since 8.6.0
*/
declare interface Map extends csn.Map {}
declare class Map {}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In which cases is inheritance required?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Strictly to inherit properties from superclasses.
If we do not need any properties from the classes above (.type?), then inheritance is not needed.

@daogrady
Copy link
Contributor

@johannes-vogel do you require my help in resolving the remaining work items?

@johannes-vogel
Copy link
Contributor Author

@johannes-vogel do you require my help in resolving the remaining work items?

should be fine now

Copy link
Contributor

@daogrady daogrady left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thanks a lot! :)

@daogrady daogrady enabled auto-merge (squash) February 19, 2025 06:38
@daogrady daogrady merged commit dc43809 into main Feb 19, 2025
9 checks passed
@daogrady daogrady deleted the map branch February 19, 2025 06:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants