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 direct polymorphic() calls #2195

Merged
merged 2 commits into from
Aug 20, 2024
Merged

remove direct polymorphic() calls #2195

merged 2 commits into from
Aug 20, 2024

Conversation

mayank99
Copy link
Contributor

@mayank99 mayank99 commented Aug 20, 2024

Changes

This removes the ability to call polymorphic() directly. All polymorphic() calls have been replaced with polymorphic.div().

The main reason for this PR is to allow using polymorphic() for different capabilities (#2196). I'm still experimenting with it and might ultimately decide to go with a different API. Regardless, having polymorphic() be an alias to polymorphic.div() doesn't provide any real benefit and it's simpler to only have one way of writing it.

Testing

Removed the test for polymorphic().

Docs

N/A. Fully internal change.

@mayank99 mayank99 self-assigned this Aug 20, 2024
@mayank99 mayank99 requested review from a team as code owners August 20, 2024 17:15
@mayank99 mayank99 requested review from r100-stack and smmr-dn and removed request for a team August 20, 2024 17:15
@mayank99 mayank99 enabled auto-merge (squash) August 20, 2024 19:31
@mayank99 mayank99 merged commit 867dc52 into main Aug 20, 2024
16 checks passed
@mayank99 mayank99 deleted the mayank/polymorphic-div branch August 20, 2024 19:40
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