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

Simplify generic method constraint matching #37

Merged
merged 1 commit into from
Nov 5, 2022

Conversation

devodo
Copy link
Owner

@devodo devodo commented Nov 5, 2022

Change default generic method constraint matching from assignable generic type strategy to exact/same method matching only.

Exact generic method matching is simpler and more intuitive. The assignable generic type strategy is overly complicated and edge catch. The fluent interface should only be complicated enough to cover main use cases. Edge cases can be supported by users implementing custom call constraints.

@devodo devodo merged commit 7c1f1e9 into main Nov 5, 2022
@devodo devodo deleted the task/generic-method-strict-match branch November 5, 2022 22:03
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.

1 participant