Skip to content

feat: fix failiure when multiple generic overloads#2199

Open
TimothyMakkison wants to merge 1 commit into
reactiveui:mainfrom
TimothyMakkison:fix_generic_overload
Open

feat: fix failiure when multiple generic overloads#2199
TimothyMakkison wants to merge 1 commit into
reactiveui:mainfrom
TimothyMakkison:fix_generic_overload

Conversation

@TimothyMakkison

Copy link
Copy Markdown
Collaborator

Fixed #2197 by creating a closed method before comparing the parameters of the types

@TimothyMakkison TimothyMakkison marked this pull request as draft July 4, 2026 14:34
@TimothyMakkison TimothyMakkison marked this pull request as ready for review July 4, 2026 21:21
@TimothyMakkison

TimothyMakkison commented Jul 4, 2026

Copy link
Copy Markdown
Collaborator Author
  • Add try catch block to FindMatchingRestMethodInfo to handle cases where generic types do not fit the constraint
  • Updated ReflectionTests to have a generic constraint case

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.

[Bug]: No suitable method for method overloads using ambiguous generics

1 participant