Skip to content
This repository was archived by the owner on Jul 23, 2021. It is now read-only.
This repository was archived by the owner on Jul 23, 2021. It is now read-only.

URGENT: Set on immutable record class returns a records without extended methods #141

Open
@Methuselah96

Description

@Methuselah96

From @bogomazov on Sat, 15 Jun 2019 08:06:26 GMT

What happened

Applying .set() to extended immutable record returns just an immutable record without class methods that were in place in the old Immutable record

How to reproduce

  1. Have a class with some getter method extending Immutable record.
  2. Create an object using the class.
  3. Log the object (notice existing getter method)
  4. Log a new object returning from "set" operation.
  5. Notice missing class methods.

Copied from original issue: immutable-js#1718

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions