nest-raven GraphQL support

Number of word 695

TL;DR

Service

  • Service クラス内で扱われる例外が apollo-server-errors とは異なる
  • 様々な例外をgraphqlでもrestでも評価できる形にする必要がある
  • Exception filters を駆使して例外を整理する?
    • 何れにせよNodeJSの例外処理は貧弱で、無駄にpokemon exception handling を作りたくはない
    • エラートラッカー自体がエラー出すと本末転倒

Refs

0