Skip to content

Occasional "error.originalError.errors.map is not a function" errors #1024

Description

@ashley-conpago

I very sporadically get errors in my project's tests "error.originalError.errors.map is not a function" which I've traced back to here in mercurius. could easily do a PR do add Array.isArray() there but this might hint at something else (me?) passing the wrong args to defaultErrorFormatter

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions