Skip to main content

BaseEntityResolver

A base resolver for an entity detail route. Resolves to an observable of the given entity, or a "blank" version if the route id equals "create". Should be used together with details views which extend the BaseDetailComponent.

Example

Ts
Signature

constructor

method(router: Router, emptyEntity: T, entityStream: (id: string) => Observable<T | null | undefined>) => BaseEntityResolver
Was this chapter helpful?
Report Issue
Edited Feb 23, 2026ยทEdit this page