You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which @ngrx/* package(s) are the source of the bug?
effects
Minimal reproduction of the bug/regression with instructions
We use USER_PROVIDED_EFFECTS in combination with a function that returns injectable effect tokens from dynamically generated effects like so:
..
{
provide: USER_PROVIDED_EFFECTS,
useValue: getEffectTokens(),
multi: true
}
Which @ngrx/* package(s) are the source of the bug?
effects
Minimal reproduction of the bug/regression with instructions
We use USER_PROVIDED_EFFECTS in combination with a function that returns injectable effect tokens from dynamically generated effects like so:
..
{
provide: USER_PROVIDED_EFFECTS,
useValue: getEffectTokens(),
multi: true
}
where getEffectTokens() returns an array like:
export const getEffectTokens = () => [
SOME_EFFECT_TOKEN,
SOME_EFFECT_TOKEN2,
etc
];
And tokens are just NG injection tokens that use factory to create a class that derives from the base effect class in order to reduce boilerplate.
Minimal reproduction of the bug/regression with instructions
The code above worked fine for many releases until 15.2.0. Has something changed starting with that release that would affect USER_PROVIDED_EFFECTS ?
Versions of NgRx, Angular, Node, affected browser(s) and operating system(s)
NGRX: 15.2 and up
NG 15
Other information
No response
I would be willing to submit a PR to fix this issue
The text was updated successfully, but these errors were encountered: