Merge branch 'master' into w2p-62849_relationships-in-submission

This commit is contained in:
lotte
2019-08-27 16:41:37 +02:00
256 changed files with 3635 additions and 3794 deletions

View File

@@ -21,7 +21,8 @@ import {
getRequestFromRequestUUID,
getResourceLinksFromResponse
} from '../../shared/operators';
import { CacheableObject } from '../object-cache.reducer';
import { CacheableObject, TypedObject } from '../object-cache.reducer';
import { createSuccessfulRemoteDataObject$ } from '../../../shared/testing/utils';
@Injectable()
export class RemoteDataBuildService {
@@ -200,7 +201,7 @@ export class RemoteDataBuildService {
aggregate<T>(input: Array<Observable<RemoteData<T>>>): Observable<RemoteData<T[]>> {
if (isEmpty(input)) {
return observableOf(new RemoteData(false, false, true, null, []));
return createSuccessfulRemoteDataObject$([]);
}
return observableCombineLatest(...input).pipe(