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: specify type better for context arg in defaultErrorFormatter #690

Merged
merged 2 commits into from Dec 22, 2021

Commits on Dec 21, 2021

  1. fix: specify type better for context

    When context is null for example, it crashes with a type error
    ```
    TypeError: Cannot read property 'reply' of null
        at AsyncFunction.defaultErrorFormatter (/home/capaj/work-repos/authier-repos/authier/node_modules/mercurius/lib/errors.js:67:19)
    ```
    Jiri Spac committed Dec 21, 2021
    Configuration menu
    Copy the full SHA
    a19906f View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2021

  1. test: add specs for new types

    capaj committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    1c3af50 View commit details
    Browse the repository at this point in the history