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 [ Full content available at: https://github.com/apache/couchdb/issues/1559 ] This message was relayed via gitbox.apache.org for [email protected]
