src/app/shared/user.service.ts
UserService
has 27 functions (exceeds 20 allowed). Consider refactoring. Open
Open
@Injectable({
providedIn: 'root'
})
export class UserService {
private user: any = { name: '' };
File user.service.ts
has 254 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
import { Injectable } from '@angular/core';
import { CouchService } from './couchdb.service';
import { catchError, switchMap, map, tap } from 'rxjs/operators';
import { of, Observable, Subject, BehaviorSubject, forkJoin } from 'rxjs';
import { findDocuments } from '../shared/mangoQueries';