You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a feature schematic is run, we scaffold out [Something] Load Something. In lots of cases you end up with, [Something] Load Something, [Something] Load Something Success, [Something] Load Something Failure.
We should provide some type of option that adds the success/error actions to the action/reducer/effect when generating a feature. The piece that's unknown is what to put in the *Map for the effect.
@Injectable()exportclassSomethingEffect{
@Effect()this.loadSomething$=this.actions$.pipe(oftype('SomeAction'),(concat/exhaust/blah)Map(()=>(/** some observable to be replaced here */).pipe(map(()=>newLoadSomethingSuccess()),catchError(()=>of(newLoadSomethingFailure)))))}
The text was updated successfully, but these errors were encountered:
When a feature schematic is run, we scaffold out
[Something] Load Something
. In lots of cases you end up with,[Something] Load Something
,[Something] Load Something Success
,[Something] Load Something Failure
.We should provide some type of option that adds the success/error actions to the action/reducer/effect when generating a feature. The piece that's unknown is what to put in the *Map for the effect.
The text was updated successfully, but these errors were encountered: