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

refactor(update-sapui5-types script): Adjust metadata generation of UI5 types #452

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

maxreichmann
Copy link
Member

@maxreichmann maxreichmann commented Dec 19, 2024

JIRA: CPOUI5FOUNDATION-973

Restructure of format in api-extract.json:

  • Collection and metadata generation of aggregation, association , event, method, property values (incl. borrowed ones)
  • Incorporate existing collection of defaultAggregation values
  • Adjust existing usage of api-extract.json (linting + tests)

TODO: Compare performance/filesize impacts of following two approaches:

  1. Collect all metadata (incl. borrowed) with update-sapui5-types script (maybe better performance during runtime; higher filesize of api-extract.json)
  2. Collect only metadata which is not borrowed by parent objects by using placeholders (maybe lower performance during runtime; lower filesize of api-extract.json)

@maxreichmann maxreichmann changed the title Refactor metadata generation of UI5 types refactor(update-sapui5-types script): Adjust metadata generation of UI5 types Dec 19, 2024
- Remove "method" from allowed symbol options
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.

1 participant