Github user kxepal commented on the pull request:

    https://github.com/apache/couchdb-fabric/pull/33#issuecomment-179780756
  
    @lazedo 
    `Options` argument assumes that it will be passed from the outside. Who 
will form it and how? And if it contains some url to there attachment have to 
be stored (by your example, as I get it right), how it would be preserved on 
the following attachment read? Have to be we need to store these options 
somewhere and link them by the database-document-attachment triple id. In 
`att_store` we already have all these information that need to lookup such 
options (assuming that they are stored outside of the document).
    
    Per-attachment configuration involves custom attachment stub fields 
feature, so they all will be available for the passed Doc argument (in anyway 
it's a reasonable to store them within the document itself). But that would be 
a question how to store private information there and how they should be 
replicated. 



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to