-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Improve readability of expressions in client evaluation exception #17236
Labels
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
type-enhancement
Milestone
Comments
ajcvickers
added a commit
that referenced
this issue
Aug 18, 2019
ajcvickers
added a commit
that referenced
this issue
Aug 19, 2019
ajcvickers
added a commit
that referenced
this issue
Aug 19, 2019
ajcvickers
added a commit
that referenced
this issue
Aug 19, 2019
Also consider if the actual exception message should be changed to something more specific than just translation/query processing failed. |
Note from triage: we cleaned this up a lot in the 3.0 code already, so this is probably just a quick scrub to make sure that the expressions we include look reasonable. |
maumar
added a commit
that referenced
this issue
Oct 4, 2019
…on exception Adding a new switch to ExpressionPrinter that creates simplified output for Print and verbose (i.e. what we had before this change) for PrintDebug. Simplified output means: - displaying Enumerable/Queryable methods (e.g. Where, Select, Join) as extension methods - simplifying display of Navigation object Also fixed minor display bugs in expression printer.
maumar
added a commit
that referenced
this issue
Oct 5, 2019
…on exception Adding a new switch to ExpressionPrinter that creates simplified output for Print and verbose (i.e. what we had before this change) for PrintDebug. Simplified output means: - displaying Enumerable/Queryable methods (e.g. Where, Select, Join) as extension methods - simplifying display of Navigation object Also fixed minor display bugs in expression printer. Also some changes in testing: - added unit tests for ExpressionPrinter, - DRY the "translation failed" tests, - "translation failed" tests no longer verify expression in the exception message and instead just make sure that right exception is thrown.
maumar
added
the
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
label
Oct 5, 2019
maumar
added a commit
that referenced
this issue
Oct 16, 2019
…on exception Adding a new switch to ExpressionPrinter that creates simplified output for Print and verbose (i.e. what we had before this change) for PrintDebug. Simplified output means: - displaying Enumerable/Queryable methods (e.g. Where, Select, Join) as extension methods - simplifying display of Navigation object Also fixed minor display bugs in expression printer. Also some changes in testing: - added unit tests for ExpressionPrinter, - DRY the "translation failed" tests, - "translation failed" tests no longer verify expression in the exception message and instead just make sure that right exception is thrown.
maumar
added a commit
that referenced
this issue
Oct 17, 2019
…on exception Adding a new switch to ExpressionPrinter that creates simplified output for Print and verbose (i.e. what we had before this change) for PrintDebug. Simplified output means: - displaying extension methods as extension methods rather than regular static methods, - simplifying display of Navigation object, - not showing if lambda body references parameter that is out of scope. Also fixed minor display bugs in expression printer. Also some changes in testing: - added unit tests for ExpressionPrinter, - DRY the "translation failed" tests, - "translation failed" tests no longer verify expression in the exception message and instead just make sure that right exception is thrown.
maumar
added a commit
that referenced
this issue
Oct 17, 2019
…on exception Adding a new switch to ExpressionPrinter that creates simplified output for Print and verbose (i.e. what we had before this change) for PrintDebug. Simplified output means: - displaying extension methods as extension methods rather than regular static methods, - simplifying display of Navigation object, - not showing if lambda body references parameter that is out of scope. Also fixed minor display bugs in expression printer. Also some changes in testing: - added unit tests for ExpressionPrinter, - DRY the "translation failed" tests, - "translation failed" tests no longer verify expression in the exception message and instead just make sure that right exception is thrown.
maumar
added a commit
that referenced
this issue
Oct 17, 2019
…on exception Adding a new switch to ExpressionPrinter that creates simplified output for Print and verbose (i.e. what we had before this change) for PrintDebug. Simplified output means: - displaying extension methods as extension methods rather than regular static methods, - simplifying display of Navigation object, - not showing if lambda body references parameter that is out of scope. Also fixed minor display bugs in expression printer. Also some changes in testing: - added unit tests for ExpressionPrinter, - DRY the "translation failed" tests, - "translation failed" tests no longer verify expression in the exception message and instead just make sure that right exception is thrown.
maumar
added a commit
that referenced
this issue
Oct 17, 2019
…on exception Adding a new switch to ExpressionPrinter that creates simplified output for Print and verbose (i.e. what we had before this change) for PrintDebug. Simplified output means: - displaying extension methods as extension methods rather than regular static methods, - simplifying display of Navigation object, - not showing if lambda body references parameter that is out of scope. Also fixed minor display bugs in expression printer. Also some changes in testing: - added unit tests for ExpressionPrinter, - DRY the "translation failed" tests, - "translation failed" tests no longer verify expression in the exception message and instead just make sure that right exception is thrown.
maumar
added a commit
that referenced
this issue
Oct 17, 2019
…on exception Adding a new switch to ExpressionPrinter that creates simplified output for Print and verbose (i.e. what we had before this change) for PrintDebug. Simplified output means: - displaying extension methods as extension methods rather than regular static methods, - simplifying display of Navigation object, - not showing if lambda body references parameter that is out of scope. Also fixed minor display bugs in expression printer. Also some changes in testing: - added unit tests for ExpressionPrinter, - DRY the "translation failed" tests, - "translation failed" tests no longer verify expression in the exception message and instead just make sure that right exception is thrown.
maumar
added a commit
that referenced
this issue
Oct 17, 2019
…on exception Adding a new switch to ExpressionPrinter that creates simplified output for Print and verbose (i.e. what we had before this change) for PrintDebug. Simplified output means: - displaying extension methods as extension methods rather than regular static methods, - simplifying display of Navigation object, - not showing if lambda body references parameter that is out of scope. Also fixed minor display bugs in expression printer. Also some changes in testing: - added unit tests for ExpressionPrinter, - DRY the "translation failed" tests, - "translation failed" tests no longer verify expression in the exception message and instead just make sure that right exception is thrown.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
type-enhancement
Scrub the places where the exception is thrown and ensure:
The text was updated successfully, but these errors were encountered: