Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
Committers Level (Medium to Hard)
Description
I'm attaching a patch that routes non-purely-functional calls into core CouchDB modules through a new couch_api module. I also went ahead and wrote down dialyzer specs for everything in couch_api. I think this will be a useful reference, will make the codebase a bit more accessible to newcomers, and will help us maintain better separation between the purely functional httpd layer and the core (useful in e.g. partitioning work).