agent-substrate / agent-substrate/substrate

API preconditions should be enforced at the API layer

Abierto
#1,225 1 comentario 0 reacciones 0 asignados Ver en GitHub
area/api area/api-machinery kind/feature
Lenguaje dominante
Go
Estrellas
1.8k
Forks
316
Merge medio
2 d 43 min
PR fusionados (30 d)
287

Descripción

## 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.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.