Commits
Enea Jahollari authored cb41f40c500
4 4 | import { GenericConstructor } from '../../shared/generic-constructor'; |
5 5 | import { HALResource } from '../../shared/hal-resource.model'; |
6 6 | import { DATA_SERVICE_FACTORY } from '../../data/base/data-service.decorator'; |
7 7 | import { LINK_DEFINITION_FACTORY, LINK_DEFINITION_MAP_FACTORY, LinkDefinition, } from './build-decorators'; |
8 8 | import { RemoteData } from '../../data/remote-data'; |
9 9 | import { EMPTY, Observable, of } from 'rxjs'; |
10 10 | import { ResourceType } from '../../shared/resource-type'; |
11 11 | import { HALDataService } from '../../data/base/hal-data-service.interface'; |
12 12 | import { PaginatedList } from '../../data/paginated-list.model'; |
13 13 | import { lazyService } from '../../lazy-service'; |
14 - | import { LAZY_DATA_SERVICES } from '../../../data-services'; |
15 14 | import { catchError, switchMap } from 'rxjs/operators'; |
15 + | import { LAZY_DATA_SERVICES } from '../../data-services-map'; |
16 16 | |
17 17 | /** |
18 18 | * A Service to handle the resolving and removing |
19 19 | * of resolved {@link HALLink}s on HALResources |
20 20 | */ |
21 21 | @Injectable({providedIn: 'root',}) |
22 22 | export class LinkService { |
23 23 | |
24 24 | constructor( |
25 25 | protected injector: Injector, |