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
parent
commit
d2f47bede7
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      docs/en/Tutorials/Part-1.md

1
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.

Loading…
Cancel
Save