effects-mapper icon indicating copy to clipboard operation
effects-mapper copied to clipboard

Does not handle pipeable ofType

Open mwoodsmall opened this issue 6 years ago • 0 comments

In the following test case, it fails to determine the input action for the effect.

  test1$ = this.actions$
    .pipe(
      ofType('LOGIN'),
      map(data => ({ type: 'LOGIN_SUCCESS', payload: data })),
      catchError(() => of({ type: 'LOGIN_FAILED' }))
    );

and instead sets the input action to undefined

mwoodsmall avatar Apr 08 '19 12:04 mwoodsmall