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

indexed/keyed list generator #378

Open
travi opened this issue Feb 1, 2018 · 1 comment
Open

indexed/keyed list generator #378

travi opened this issue Feb 1, 2018 · 1 comment

Comments

@travi
Copy link
Owner

travi commented Feb 1, 2018

basically, objectWithKeys, but with the keys being provided from a key property from the value object (default to id).

  • should take an option to index/key by another property
  • factory should default to simpleObject, but with the defined key property injected (id by default)
  • factory should take the key as the first argument, just like objectWithKeys
@travi
Copy link
Owner Author

travi commented Mar 28, 2018

+1

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