Skip to content

Conversation

@edgarfgp
Copy link
Member

@edgarfgp edgarfgp commented May 13, 2024

Currently in Fabulous you can't pass a WidgetBuilder as part of the CollectionBuilder constructor using AttributesBundle.

Before

Screenshot 2024-05-13 at 21 23 58

After

Screenshot 2024-05-13 at 22 10 57

This PR changes the CollectionBuilder definition to use AttributesBundle.

@edgarfgp edgarfgp requested a review from TimLariviere May 13, 2024 20:31
@edgarfgp edgarfgp force-pushed the use-attribute-bundle branch from cb0d286 to 01c52d2 Compare May 13, 2024 21:00
@edgarfgp edgarfgp marked this pull request as ready for review May 13, 2024 21:12
Copy link
Member

@TimLariviere TimLariviere left a comment

Choose a reason for hiding this comment

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

Good addition, This would be useful for more advanced scenario when dealing with CollectionBuilder. I made some comments.
Mainly watch out for the difference between Scalar and AttributeBundle.

edgarfgp and others added 2 commits May 15, 2024 18:02
Co-authored-by: Timothé Larivière <[email protected]>
Co-authored-by: Timothé Larivière <[email protected]>
@edgarfgp edgarfgp requested a review from TimLariviere May 15, 2024 17:29
@edgarfgp edgarfgp force-pushed the use-attribute-bundle branch from 88b37c9 to 526198d Compare May 15, 2024 17:43
@edgarfgp edgarfgp changed the title Replace StackList<ScalarAttribute> with AttributesBundle Add new CollectionBuilder constructor using an AttributesBundle May 17, 2024
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.

3 participants