Skip to content

feat: fix failiure when multiple generic overloads#2199

Merged
glennawatson merged 1 commit into
reactiveui:mainfrom
TimothyMakkison:fix_generic_overload
Jul 8, 2026
Merged

feat: fix failiure when multiple generic overloads#2199
glennawatson merged 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

@glennawatson glennawatson merged commit 7ac3e1a into reactiveui:main Jul 8, 2026
10 checks passed
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

2 participants