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

Allow transforms to remove enum members #1442

Merged
merged 1 commit into from
Oct 11, 2022
Merged

Conversation

JordonPhillips
Copy link
Contributor

This fixes a bug that was preventing enum members from being removable from transforms, such as removeShapesByTag.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

This fixes a bug that was preventing enum members from being
removable from transforms, such as removeShapesByTag.
@JordonPhillips JordonPhillips requested a review from a team as a code owner October 11, 2022 12:51
@JordonPhillips JordonPhillips merged commit b9d5a49 into main Oct 11, 2022
@sugmanue
Copy link
Contributor

sugmanue commented Oct 11, 2022

Sweet, I was wondering about what would happen if all of the members are removed since that’s not allowed and if this is catch and how is going to be reported. I don't see any tests covering this case.

@JordonPhillips
Copy link
Contributor Author

what would happen if all of the members are removed

If all the members are removed, the shape should be removed since I'm making use of the code that does just that for unions/structures. I can add a test case tomorrow to cover that.

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