ui5-community / ui5-community/babel-plugin-transform-modules-ui5
Add support for custom metadata object
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 33
- Forks
- 20
- Avg merge
- 3h 22m
- Merged PRs (30d)
- 1
Description
When calling sap.ui.base.Object.extend, it is possible to specify a custom metadata object as a third parameter:
https://ui5.sap.com/#/api/sap.ui.base.Object%23methods/sap.ui.base.Object.extend
It should be possible to set this also in the typescript definiton. (maybe another jsdoc parameter -> @metadata?)
Thanks!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the TypeScript definition for sap.ui.base.Object.extend and compare its declared parameters with the SAP UI5 API documentation linked in the issue. Add support for passing a custom metadata object in the definition, and verify that the resulting declaration accepts the documented third parameter.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, typescript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100