We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi there!
I recently switched to the new @StoreChunk decorator and it is really awesome 👍
@StoreChunk
but I get the following error when all actions (createDuck()) are nested under a myActions property:
createDuck()
myActions
[ngrx-ducks] StoreFacade: At least one Duck is required to build a reducer function. Please use either createDuck or createMutableDuck.
like this:
@StoreChunk({ feature: 'my-feature', defaults: initialState }) export class MyFacade { myActions = { action1: createDuck('MyAction', ...) } }
We have some facades where we group actions like this, and if there is no action left on the main level we get this error.
Thank you!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi there!
I recently switched to the new
@StoreChunk
decorator and it is really awesome 👍but I get the following error when all actions (
createDuck()
) are nested under amyActions
property:like this:
We have some facades where we group actions like this, and if there is no action left on the main level we get this error.
Thank you!
The text was updated successfully, but these errors were encountered: