agent-substrate / agent-substrate/substrate
API preconditions should be enforced at the API layer
未关闭
area/api
area/api-machinery
kind/feature
- 主要语言
- Go
- 星标
- 1.8k
- 派生
- 316
- 平均合并
- 2 天 43 分钟
- 30 天内合并 PR
- 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 还没有评估数据。