Skip to content
This repository has been archived by the owner on Jun 30, 2022. It is now read-only.

Support nested stores for modify. #44

Closed
betula opened this issue Apr 7, 2020 · 1 comment
Closed

Support nested stores for modify. #44

betula opened this issue Apr 7, 2020 · 1 comment
Labels
bug Something isn't working enhancement New feature or request

Comments

@betula
Copy link
Member

betula commented Apr 7, 2020

class A {
  store = { a: 'A' };
}
class B {
  store = { a: create(A) };
  modify() {
    modify(this).a.a = 'AA';
  }
}
@betula betula added bug Something isn't working enhancement New feature or request labels Apr 7, 2020
@betula
Copy link
Member Author

betula commented Apr 8, 2020

Its not a bug. Because type of B store - { a: A }.

@betula betula closed this as completed Apr 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant