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: use correct override index for built-in iconset components #266

Merged
merged 2 commits into from
Dec 2, 2021

Conversation

dpilch
Copy link
Member

@dpilch dpilch commented Dec 1, 2021

Wait until after initial release to merge change.

Built-in iconset components require the component type to be mapped to pascal calse. A new object was created in amplify-renderer to map the component type. This resulted in the object equality comparison in studio-node to fail because the objects were different references.

Base automatically changed from return-to-studio to main December 1, 2021 17:28
@dpilch
Copy link
Member Author

dpilch commented Dec 1, 2021

Looking into the integ test failures now

@dpilch
Copy link
Member Author

dpilch commented Dec 1, 2021

Integ failure was because the component was being reused for multiple tests. componentType was being mutated and caused the validation to fail. componentType is now restored to original value after render.

@alharris-at
Copy link
Contributor

You should be good to merge this now.

@dpilch dpilch changed the title [DO NOT MERGE] fix: use correct override index for built-in iconset components fix: use correct override index for built-in iconset components Dec 2, 2021
@dpilch dpilch merged commit 04c3baa into main Dec 2, 2021
@dpilch dpilch deleted the icon-index branch December 2, 2021 22:19
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