Github user kxepal commented on the pull request:

    https://github.com/apache/couchdb-chttpd/pull/82#issuecomment-167132910
  
    @gilv I mean to get rid all `case AttExternal of "external" -> ...; _ -> 
... end` and instead have some function(s) with two clauses: one to process 
attachments stored inside db file and other - in some external storage. This 
makes logic of processing internal and external attachments separated, clean 
and easy to track. This also helps to avoid situations like [this 
one](https://github.com/apache/couchdb-chttpd/pull/82/files#r41985231) when 
depending on attachment type.


---
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