Editorial question83.9K views1,372 votes0 answers2,451 following
AI-generatedEntity adapters: Managing nested relationships and cascading deletes
Goal To keep a normalized state that reflects a parent-child relationship between two entity collections while ensuring that deleting a parent automatically removes its children from the store. Constraints The @ngrx/entity library offers adapters that generate CRUD reducers and selectors, but it does not provide a built‑in mechanism for nested or parent‑chil