Skip to content

Commit 1ec16ce

Browse files
tiger-seodanrevah
authored andcommitted
Update group-by.ts (#56)
impure pipes could be dangerous to user experience if one doesn't know exactly how they work
1 parent 72ae43e commit 1ec16ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/pipes/array/group-by.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Pipe, PipeTransform } from '@angular/core';
22
import {extractDeepPropertyByMapKey, isFunction} from '../helpers/helpers';
33

4-
@Pipe({name: 'groupBy', pure: false})
4+
@Pipe({name: 'groupBy'})
55
export class GroupByPipe implements PipeTransform {
66

77
transform(input: any, discriminator: any = [], delimiter: string = '|'): any {

0 commit comments

Comments
 (0)