immutable-js / immutable-js/immutable-js

keys(), values(), entries() missing on a Record

Open
#1,640 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
33k
Forks
1.9k
Avg merge
6d 7h
Merged PRs (30d)
1

Description

Maybe I'm missing something, but shouldn't these methods be available on a Record type? I've looked through the whole documentation and couldn't found an explanation why Records don't have them. Even plain JS objects have them, and it would be really nice if Records have them as well, since they're quite useful.

Contributor guide

Open the contributing guide

Research direction

Start by locating the Record type implementation and its existing tests, then compare the available Record API with the requested keys(), values(), and entries() methods. Done means the methods are available on Records and their behavior is covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
api
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.