Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes an issue where feature states are being created without their initial states #155

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

congwenma
Copy link

@congwenma congwenma commented May 9, 2020

This addresses the problem that whenever you use forFeature you must explicitly add an initialState

StoreModule.forFeature('cars', carReducer, {
  metaReducers,
  // This was implicitly required
  initialState: carInitialState 
})

Should fix:

#96
#82

@ernestomancebo @btroncone @bufke Thoughts?

src/index.ts Outdated Show resolved Hide resolved
@BBlackwo BBlackwo added feature stores Functionality related to feature stores / modules known workaround There is a known workaround for this issue labels Aug 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature stores Functionality related to feature stores / modules known workaround There is a known workaround for this issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants