GitHub

DaffCategoryPageIdResolver

import { DaffCategoryPageIdResolver } from '@daffodil/category/routing'

Resolves category data for category pages, and will only resolve the url after a category request succeeds or fails. This resolver expects a url of the form some/url/{id} where {id} is the category id.

@Injectable()
class DaffCategoryPageIdResolver {
  resolve(route: ActivatedRouteSnapshot): Observable<boolean>
}