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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

feat: support for cds.Map #404

wants to merge 5 commits into from

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! :)

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