issues
search
mercurius-js
/
mercurius
Implement GraphQL servers and gateways with Fastify
https://mercurius.dev/
MIT License
2.33k
stars
234
forks
source link
bugfix: handle if errors is not an array
#1025
Open
ashley-conpago
opened
10 months ago
ashley-conpago
commented
10 months ago
closes #1024
check that
error.originalError.errors
is an array before mapping it.
if not an array, but is defined, try to handle it anyway.
closes #1024
error.originalError.errors
is an array before mapping it.