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

Remove identity comparison feature check in favour of a conditional #1734

Merged
merged 1 commit into from
Dec 18, 2023

Conversation

vinistock
Copy link
Member

Motivation

Context: https://github.com/Shopify/tapioca/pull/1732/files#r1428547394

Instead of maintaining a feature check, we can just use a conditional and reduce complexity.

Implementation

Got rid of the feature check and switch to a conditional. Also, left a comment with the PR and version it gets introduced since we may want to remove part of the conditional in the future if we make our Sorbet requirement more strict.

Tests

Existing tests should continue to pass.

Copy link
Member

@paracycle paracycle left a comment

Choose a reason for hiding this comment

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

Thank you for making the change! 🙏

@vinistock vinistock merged commit ffe63f4 into main Dec 18, 2023
29 checks passed
@vinistock vinistock deleted the vs/remove_identity_feature_check branch December 18, 2023 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants