0
rajasekhard2015 created
I have created the book entity with userinterface from CURD Page generator(abp suite).
I am getting the issue like,
main.ts:12 Error: Can't resolve all parameters for BookState: (?). at getUndecoratedInjectableFactory (core.js:16970) at injectableDefOrInjectorDefFactory (core.js:16954) at providerToFactory (core.js:17022) at providerToRecord (core.js:17004) at R3Injector.processProvider (core.js:16820) at core.js:16781 at core.js:1391 at Array.forEach (<anonymous>) at deepForEach (core.js:1391) at R3Injector.processInjectorType (core.js:16777)
2 Answer(s)
-
3
Injectable
decorator should be added theBookState
like this:import { Injectable } from '@angular/core'; // import the Injectable @State<Book.State> ({ // state metadata }) @Injectable() // add this line export class BookState
-
1
this issue has been fixed in v2.4 (coming on April 3, 2020)