Exzorcist / graphiql-app

0 stars 2 forks source link

[ GraphGL Editor ]: Query error handling #54

Closed Exzorcist closed 11 months ago

Exzorcist commented 11 months ago

1 - Fetch error - use this API - https://api.spacex.land/graphql/ ( https://nimb.ws/Mj0s8T ) 2 - CORS erro - use this API - https://dex-server.herokuapp.com/ ( https://nimb.ws/WnYeUk ) 3 - Use my component to display error messages. Here's an example of how to use it - https://github.com/Exzorcist/graphiql-app/blob/2a60193776918740efb079799b8bd2d712cb948a/src/components/Login/SignForm.tsx#L48C1-L52C7 | https://github.com/Exzorcist/graphiql-app/blob/2a60193776918740efb079799b8bd2d712cb948a/src/components/Login/SignForm.tsx#L70C9-L70C49 | Also, don't forget about transkation