couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Candler <B.Cand...@pobox.com>
Subject Re: What happens with a document, if a conflict is not resolved?
Date Sun, 01 Nov 2009 11:53:59 GMT
On Sat, Oct 31, 2009 at 10:40:43AM +0000, Brian Candler wrote:
> > I think I'd be in favor of making the default GET include all conflicts, 
> > but probably in the _conflicts field so as to minimize the changes to the 
> > current API.
> 
> As a first step, that would be unlikely to break anyone, would make it clear
> when a conflict exists, and would simplify the API by removing the need for
> ?conflicts=true. So I'd vote for that.

Also: if you query a view with ?include_docs=true, at the moment you never
get a _conflicts member in the document, even if you say
?include_docs=true&conflicts=true

Perhaps you should?

B.

Mime
View raw message