import { DaffInMemoryCategoryService } from '@daffodil/category/driver/in-memory'
The category in memory driver for mocking the DaffCategoryDriver with in memory data.
@Injectable()
class DaffInMemoryCategoryService extends DaffInMemoryDriverBase implements DaffCategoryServiceInterface {
get(categoryRequest: DaffCategoryIdRequest): any
getByUrl(categoryRequest: DaffCategoryUrlRequest): any
}
anyFetch a category by its ID.
| Parameter | categoryRequest: DaffCategoryIdRequest |
|---|---|
| Description |
anyFetch a category by its associated URL.
| Parameter | categoryRequest: DaffCategoryUrlRequest |
|---|---|
| Description |