linacs commented on issue #1559: RFC: Sub-Document Operations
URL: https://github.com/apache/couchdb/issues/1559#issuecomment-415205074
 
 
   Hello!
   I *really love* this proposal, which would have a very strong impact on my 
use cases. I use CouchApp, so my comments will be about two points I see to 
consider:
   
   _ Dynamic _rewrites: On the "to" field, the REST API from the browser could 
be rewritten to target directly the partial document.
   
   _ Error handling: What happens if the targeted id/field is missing? There 
should be a way to handle that (right now, when a document is missing after a 
rewrite, it's already a mess...).
   
   I like your syntax, very comprehensive (but indeed, as said earlier, the '#' 
could be a technical problem. "/_/" is very interesting, it looks like the old 
"/#/" but with an underscore, beloved by couchDB).
   Moreover, Couchbase has already this feature (but without a REST access?).
   
https://developer.couchbase.com/documentation/server/current/sdk/subdocument-operations.html
   
   
   Gilles

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to