File tree 1 file changed +0
-5
lines changed
packages/graph/src/-private
1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change 1
1
import { deprecate } from '@ember/debug' ;
2
2
3
- import { recordIdentifierFor } from '@ember-data/store' ;
4
3
import {
5
4
DEPRECATE_NON_UNIQUE_PAYLOADS ,
6
5
DEPRECATE_RELATIONSHIP_REMOTE_UPDATE_CLEARING_LOCAL_STATE ,
@@ -18,7 +17,6 @@ import replaceRelatedRecord from './operations/replace-related-record';
18
17
import replaceRelatedRecords from './operations/replace-related-records' ;
19
18
20
19
function _deprecatedCompare < T > (
21
- relationship : CollectionEdge ,
22
20
priorLocalState : T [ ] | null ,
23
21
newState : T [ ] ,
24
22
newMembers : Set < T > ,
@@ -153,7 +151,6 @@ function _deprecatedCompare<T>(
153
151
}
154
152
155
153
function _compare < T > (
156
- relationship : CollectionEdge ,
157
154
priorLocalState : T [ ] | null ,
158
155
finalState : T [ ] ,
159
156
finalSet : Set < T > ,
@@ -277,7 +274,6 @@ export function diffCollection(
277
274
if ( DEPRECATE_NON_UNIQUE_PAYLOADS ) {
278
275
if ( finalState . length !== finalSet . size ) {
279
276
const { diff, duplicates } = _deprecatedCompare (
280
- relationship ,
281
277
priorLocalState ,
282
278
finalState ,
283
279
finalSet ,
@@ -313,7 +309,6 @@ export function diffCollection(
313
309
}
314
310
315
311
return _compare (
316
- relationship ,
317
312
priorLocalState ,
318
313
finalState ,
319
314
finalSet ,
You can’t perform that action at this time.
0 commit comments