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

fix(ui5-tooling-modules): named aggregations can also be marked as default aggregation #1096

Merged
merged 3 commits into from
Oct 18, 2024

Conversation

Thodd
Copy link
Collaborator

@Thodd Thodd commented Oct 17, 2024

No description provided.

// we have a reference to other things -> enums, interfaces, classes
if (typeInfo?.references?.length > 0) {
// Since the UI5 runtime only allows for 1 single type per property/aggregation, we take the first reference
parsedType = typeInfo.references[0].name;
Copy link
Member

Choose a reason for hiding this comment

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

Ah, ok - this is interesting because the Luigi guys also used multiple types. So, the first type wins and should be then the most generic type - an alternative would be to use object in such cases.

@petermuessig petermuessig merged commit 49db54e into main Oct 18, 2024
5 checks passed
@petermuessig petermuessig deleted the webc_fix_default_aggregation branch October 18, 2024 19:52
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