Find state unions that become deep signals

Proprietary

NgRx 22 exposes a state member whose type is a union with an object type as a DeepSignal for each object member, where it was one Signal of the whole union. Finds the signalState, withState and deepComputed calls of @ngrx/signals whose state or result holds such a union, and names the members. In projects whose tsconfig.json turns on strictNullChecks, a nullable or optional object member counts as well, as it is such a union there.

org.openrewrite.angular.ngrx.FindUnionDeepSignals
mod run . --recipe=org.openrewrite.angular.ngrx.FindUnionDeepSignals

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.