GraphQL Input Error Handling

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

Hi thanks for the quick explanation. Is this strategy (success / error fields) is managed by some client lib front end side?

Do you recommend to use the strategy you presented for all endpoints in general (not only from validation) over some traditional "throw new ApolloError(...)" ?

I like the idea that my errors will be well organized in types instead of throwing messy error codes.

loicbisiere