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

[ui5-side-navigation / ui5-tab-container]: wrong slot type definition #8698

Closed
nnaydenow opened this issue Apr 9, 2024 · 0 comments
Closed
Assignees
Labels
bug This issue is a bug in the code TOPIC RD Very High Prio

Comments

@nnaydenow
Copy link
Contributor

nnaydenow commented Apr 9, 2024

Bug Description

If we need to describe slot with a union type like Array<Class1 | Class2>, we typically replace the union type with an interface that both classes implement. Using this union type syntax can create an incorrect custom-elements.json, which is essential for building wrappers for OpenUI5 / ui5-web-components-react. We use this interface because it can't be constructed by tools during the wrapper generation phase.

https://github.com/SAP/ui5-webcomponents/blob/main/packages/main/src/Tab.ts#L188
https://github.com/SAP/ui5-webcomponents/blob/main/packages/main/src/TabContainer.ts#L291
https://github.com/SAP/ui5-webcomponents/blob/main/packages/fiori/src/SideNavigation.ts#L152

Affected Component

ui5-side-navigation / ui5-tab-container

UI5 Web Components Version

latest

@nnaydenow nnaydenow added bug This issue is a bug in the code TOPIC RD Very High Prio labels Apr 9, 2024
@nnaydenow nnaydenow added this to New Issues in Maintenance - Topic RD via automation Apr 9, 2024
@kskondov kskondov self-assigned this Apr 10, 2024
dimovpetar added a commit that referenced this issue Apr 11, 2024
kskondov pushed a commit that referenced this issue Apr 12, 2024
Maintenance - Topic RD automation moved this from New Issues to Completed Apr 12, 2024
dimovpetar added a commit that referenced this issue Apr 26, 2024
ilhan007 pushed a commit that referenced this issue May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug in the code TOPIC RD Very High Prio
Projects
Status: Completed
Development

No branches or pull requests

2 participants