Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support TransformObject as a reducer type #53

Closed
raingerber opened this issue Dec 17, 2017 · 0 comments
Closed

Support TransformObject as a reducer type #53

raingerber opened this issue Dec 17, 2017 · 0 comments
Assignees
Milestone

Comments

@raingerber
Copy link
Contributor

TransformMap is currently used for hash entities, but it should be supported as a reducer type (meaning it could be part of a TransformExpression). This would make it easier to manipulate objects without creating full-blown hash entities. One main use case would be combining multiple requests into a single object:

{
  'entry:example': [
    {
      a: 'request:a',
      b: 'request:b'
    },
    // this transform could access the data from requests 'a' and 'b'
    'transform:data'
  ]
}
@raingerber raingerber self-assigned this Dec 18, 2017
raingerber pushed a commit that referenced this issue Dec 21, 2017
@acatl acatl modified the milestones: v2.x, v1.x Dec 21, 2017
raingerber pushed a commit to raingerber/data-point that referenced this issue Dec 23, 2017
@raingerber raingerber mentioned this issue Dec 23, 2017
4 tasks
@acatl acatl closed this as completed in 141de5e Dec 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants