Don't merge with existing document on create for correctness reasons

This commit is contained in:
Andras Schmelczer 2025-02-26 23:11:46 +00:00
parent f8b6718a22
commit e493b98a24
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
3 changed files with 25 additions and 84 deletions

View file

@ -25,7 +25,7 @@ pub struct FetchLatestDocumentsResponse {
pub last_update_id: VaultUpdateId,
}
/// Response to a create/update document request.
/// Response to an update document request.
#[derive(Debug, Clone, Serialize, JsonSchema)]
#[serde(tag = "type")]
pub enum DocumentUpdateResponse {