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

Create object map operator #4 #2

Open
basham opened this issue Jan 28, 2019 · 2 comments
Open

Create object map operator #4 #2

basham opened this issue Jan 28, 2019 · 2 comments

Comments

@basham
Copy link
Member

basham commented Jan 28, 2019

csbasham opened this issue on Feb 22, 2017


This would be a low-level function that given an object, do a transformation on it. This would be used within most lib methods. Something like:

// conduit-rxjs/lib/bindNext
import {mapObject} from './mapObject';

export function bindNext(source) {
  // if is object...
  return mapObject(source, function mapValue(value, key) {...}, function mapKey(value, key) {...});
}
@basham
Copy link
Member Author

basham commented Jan 28, 2019

csbasham commented on Feb 22, 2017


Could also just use lodash functions, as either inspiration or as a dependency. But I don't know if I want anything other than rxjs to be a peer dependency.

@basham
Copy link
Member Author

basham commented Jan 28, 2019

anderjak commented on Feb 28, 2017


I agree with preferring only rxjs peer dependency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant