Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Record.get() with optional NSV (TypeScript) #1463

Closed
@dinony

Description

@dinony

I'm using v4.0.0-rc.9 with TypeScript.
I wonder why there is no get method in the Record interface without the NSV value.
It results in a lot of .get('..', null) calls. Since I know that there is already a value, given that a record factory already enforces that a value is always present for all keys, it seems unnecessary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions