Skip to content

Fix TargetInvocationException with nullable value types with HasConversion#3843

Open
henriquewr wants to merge 1 commit into
npgsql:mainfrom
henriquewr:targetInvocationException
Open

Fix TargetInvocationException with nullable value types with HasConversion#3843
henriquewr wants to merge 1 commit into
npgsql:mainfrom
henriquewr:targetInvocationException

Conversation

@henriquewr
Copy link
Copy Markdown

@henriquewr henriquewr commented May 25, 2026

fixes #3842

also #3716 seems to be the same issue

The fix applied is basically https://github.com/dotnet/efcore/blob/main/src/EFCore/Storage/TypeMappingSourceBase.cs#L162-L167

@roji roji requested a review from Copilot May 27, 2026 10:13
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error: Your billing is not configured or you have Copilot licenses from multiple standalone organizations or enterprises. To use premium requests, select a billing entity via the GitHub site, under Settings > Copilot > Features.

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.

TargetInvocationException when using Contains with nullable value types with HasConversion

2 participants