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

execution: Preserve extensions in parseValue errors #3785

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Nov 23, 2022

  1. execution: Preserve extensions in parseValue errors

    Previously, the only fields observed on an error thrown by (for example)
    parseValue were `message` and `originalError`. Now, the error itself is
    used as the `originalError`; this may be mildly backwards-incompatible
    if you added extensions on the error itself which you for some reason
    wanted to disappear, but that seems unlikely.
    
    Addresses an issue raised in
    apollographql/apollo-server#7178
    glasser committed Nov 23, 2022
    Configuration menu
    Copy the full SHA
    5a76837 View commit details
    Browse the repository at this point in the history