0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

API Best Practices ~利用しないフィールドを含めないこと

Last updated at Posted at 2024-12-05

利用しないフィールドを含めないこと

API定義はシステムとやり取りをするための項目だけに留めましょう。
余計な情報は混乱のもとです。

デバッグしたい場合に、RPCレスポンス拡張(サイドチャネル)を利用するとよいなどと書いてありましたが、よくわかりませんでした。

実機上でのトレースであれば、昨今は Datadog など便利なサービスも充実しています。
余計なデバッグ用フィールドを挿入せず、シンプルに保っていきましょう。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?