michaelleeallen / reducto

A small module that aims to reduce the amount of code needed to create apps with a distributed back end in express.js

Home Page:http://michaelleeallen.github.io/reducto/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Multiple data transforms on a single service call

michaelleeallen opened this issue · comments

Allow developers to specify a list of data transform functions on a single service config:

{
  "service_one": {
    "get": {
      "uri": "http://api.somewhere.com/v1/users",
      "transform": ["lib/transforms/user.js#firstName", "lib/transforms/normalize.js"]
    }
  }
}