RJMetrics / sweet-liberty

A library for building database-backed RESTful services using Clojure
Apache License 2.0
104 stars 6 forks source link

Feature/before condition messaging #11

Closed kurtwheeler closed 9 years ago

kurtwheeler commented 9 years ago

This adds a helper function so that a user of sweet-liberty can return a HTTP response from any decision point. This is done by returning a ring-response from the decision function and then wrapping the decision function using the helper function force-response-through. I have tested this by both adding unit tests for it and using this functionality in the data-warehouse-service.

bpiel commented 9 years ago

minor stuff. Back to you.

kurtwheeler commented 9 years ago

I made changes based on your feedback @bpiel, back to you.

bpiel commented 9 years ago

approved