Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- I have an effect that invokes below service call
- public getCandidates(): Observable {
- const url = 'Candidates Url';
- return this.http.get(url);
- }
- I have an effect that invokes below service call
- public getMatchingCandidates(conditions: any): Observable
- {
- const url = 'Matched Candidates Url';
- return this.http.get(url);
- }
- I have an effect that invokes below service call
- public getAssignedCandidates(id: number): Observable {
- const url = 'Assigned candidates url';
- return this.http.get(url);
- }
- Candidate reducer :
- export const reducers = {
- search: fromSearch.reducer,
- candidates: fromCandidates.reducer,
- collection: fromCollection.reducer
- };
- Here is the injection of feature store to module
- StoreModule.forFeature('candidates', combineReducers(fromStore.reducers))
Add Comment
Please, Sign In to add comment