platform icon indicating copy to clipboard operation
platform copied to clipboard

Selecting slices of the Global NgRx Store using strings

Open timdeschryver opened this issue 2 years ago • 0 comments

Which @ngrx/* package(s) are relevant/related to the feature request?

store

Information

The pluck RxJS operator is currently deprecated and is removed in RxJS v8. Within NgRx we use it to be able to select a slice from the Global NgRx Store:

this.store.select('customers')
this.store.select('customers', 'orders)

With pluck going to be removed we should either:

  1. deprecate this select signature (and eventually remove it)
  2. or, write our own pluck operator

Describe any alternatives/workarounds you're currently using

/

I would be willing to submit a PR to fix this issue

  • [ ] Yes
  • [ ] No

timdeschryver avatar May 17 '23 18:05 timdeschryver