couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Lehnardt <...@apache.org>
Subject Re: [DISCUSS] couchdb 4.0 transactional semantics
Date Tue, 21 Jul 2020 16:45:07 GMT


> On 21. Jul 2020, at 18:29, Bessenyei Balázs Donát <bessbd@apache.org> wrote:
> 
> On Tue, 21 Jul 2020 at 17:42, Jan Lehnardt <jan@apache.org> wrote:
>> We rather don’t like to break things just because we can :)
>> 
>> Do you have anything specific in mind?
>> 
>> Best
>> Jan
>> —
>> 
> 
> I'm not suggesting that breaking changes should be introduced just for
> the fun of it :)
> Anyway, an example could be the changes feed [1]: it returns JSON,
> line-by-line JSON or EventSource responses (for `normal`, `continuous`
> and `eventsource` modes, respectively).
> This makes integration and tooling around it difficult. One potential
> fix to that could be separating the feed into different URLs (such as
> `_changes`, `_changes/_continuous` and `_changes/_eventsource`).
> 
> Let me know what you think.

I’m not sure why a URL parameter vs. a path makes a big difference?

Do you have an example?

Best
Jan
—

> 
> 
> Donat
> 
> [1] https://docs.couchdb.org/en/stable/api/database/changes.html


Mime
View raw message