79180455

Date: 2024-11-12 09:19:29
Score: 1
Natty:
Report link

You could do something like this until a cleaner option is available.

customer = toSignal(
        toObservable(this.id).pipe(
          switchMap((id) => this.myService.getCustomer(id))
        )
      );
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: FlyOnWall