Skip to content

indexed/keyed list generator #378

@travi

Description

@travi

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions