Skip to content
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

Fix to #17236 - Improve readability of expressions in client evaluation exception #18228

Merged
merged 1 commit into from
Oct 17, 2019

Commits on Oct 17, 2019

  1. Fix to #17236 - Improve readability of expressions in client evaluati…

    …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 committed Oct 17, 2019
    Configuration menu
    Copy the full SHA
    7285557 View commit details
    Browse the repository at this point in the history