gparlakov / scuri

Automate Angular unit test and boilerplate with this schematic.
MIT License
67 stars 7 forks source link

Handle properties with Promise or Observable #174

Open gparlakov opened 1 year ago

gparlakov commented 1 year ago

    TypeError: Cannot read property 'pipe' of undefined

      54 |     public aMethid(grid: GridQueryParamsStateDirective): void {
    > 55 |         const filterParams$: Observable<Filter> = this.route.queryParams.pipe(
         |                                                                          ^
      56 |             this.getFilter,
      57 |             shareReplay(1)
      58 |         );
gparlakov commented 1 year ago

Also - add setup methods to replace the EMPTY observables