Skip to content

Include details in QueryTranslator NotSupportedExceptions#245

Draft
rosslovas wants to merge 1 commit into
masterfrom
pet/better-queryable-NotSupportedException
Draft

Include details in QueryTranslator NotSupportedExceptions#245
rosslovas wants to merge 1 commit into
masterfrom
pet/better-queryable-NotSupportedException

Conversation

@rosslovas
Copy link
Copy Markdown
Contributor

@rosslovas rosslovas commented Feb 2, 2023

When running a query that attempts to use a method or an expression in a Where call that can't be translated to SQL, a NotSupportedException is thrown, but that exception doesn't say what was actually unsupported. This PR adds details to many of these exception messages so that it's easier to understand what exactly went wrong.

@rosslovas rosslovas force-pushed the pet/better-queryable-NotSupportedException branch from c6a9a23 to 3912902 Compare February 2, 2023 07:26
@rosslovas rosslovas changed the title Include the signature of unsupported method in QueryTranslator exception Include details in QueryTranslator NotSupportedExceptions Feb 2, 2023
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