framed-data / overseer

Overseer is a library for building and running data pipelines in Clojure.
Eclipse Public License 1.0
97 stars 10 forks source link

Update harness to always return a map #26

Closed unforced closed 9 years ago

unforced commented 9 years ago

This updates overseer/harness to always return a map. This allows for flexibility for the user, so a function can be passed, but as soon as it is wrapped in a harness, it is automatically converted to a map. This fixes a bug where if we passed a key such as :pre-process, it wouldn't actually be set as a pre-processor unless our handler was already a map.

andrewberls commented 9 years ago

Tests?

unforced commented 9 years ago

Tests added

andrewberls commented 9 years ago

:+1: