Browse Source
Merge pull request #3779 from mgochmuradov/patch-1
Explicitly define @Injectable() decoration requirement.
rel-2.7
Mehmet Erim
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
docs/en/Tutorials/Part-1.md
|
|
|
@ -970,6 +970,7 @@ export class BooksState { |
|
|
|
} |
|
|
|
``` |
|
|
|
* We added the book property to BooksStateModel model. |
|
|
|
* We added `@Injectable()` decorator to BookState class (Regquired for Ivy to work properly). |
|
|
|
* We added the `GetBooks` action that retrieves the books data via `BooksService` that generated via ABP CLI and patches the state. |
|
|
|
* `NGXS` requires to return the observable without subscribing it in the get function. |
|
|
|
|
|
|
|
|