graycoreio/daffodil

View on GitHub
libs/category/state/src/selectors/category.selector.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function createCategorySelectors has 45 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const createCategorySelectors = <V extends DaffGenericCategory<V>, W extends DaffProduct>(): DaffCategoryMemoizedSelectors<V, W> => {
  const { selectAllProducts,selectProductEntities } = getDaffProductSelectors<W>();

  const {
    selectCategoryEntities,
Severity: Minor
Found in libs/category/state/src/selectors/category.selector.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status