-
-
Notifications
You must be signed in to change notification settings - Fork 43
Closed
Description
The no-nested-subscribe rule should only report subscribe within a subscribe callback or within any operator callback ?
Because it's currently reporting an error in a subscribe within a map callback
(in package rxjs-tslint-rules it's OK)
from(/* Observable */)
.pipe(
map((items: any[]) =>
{
form.get('control').valueChanges
// error Nested subscribe calls are forbidden rxjs/no-nested-subscribe
.subscribe((billing: boolean) =>
{
// code
});
}))
.subscribe(() =>
{
//more code
});Metadata
Metadata
Assignees
Labels
No labels