agent-substrate / agent-substrate/substrate

API preconditions should be enforced at the API layer

オープン
#1,225 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
area/api area/api-machinery kind/feature
主要言語
Go
スター
1.8k
フォーク
316
平均マージ
2日 43分
マージ済み PR(30日)
287

説明

## Expected Behavior

Preconditions for custom APIs should not be required. For example `Delete` should not fail if there is a write conflict.

## Actual Behavior

Right now preconditions are enforced at the storage layer, so any API that needs to update a resource have preconditions automatically enforced.

## Specifications

We should make preconditions optional at the storage layer, so that custom APIs have the flexibility to skip preconditions if desired.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。