Skip to content

Commit f44229a

Browse files
committed
fix type mismatch in identify
1 parent 09961a8 commit f44229a

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

normalize/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.4.6]
11+
12+
- handle type mismatch in `identify` util
1013

1114
## [0.4.5]
1215

normalize/lib/src/utils/identify.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ String identify(
1111
data.containsKey(referenceKey)
1212
? data[referenceKey]
1313
: resolveDataId(
14-
data: data,
14+
data: Map.from(data),
1515
typePolicies: typePolicies,
1616
dataIdFromObject: dataIdFromObject,
1717
);

normalize/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: normalize
2-
version: 0.4.5
2+
version: 0.4.6
33
homepage: https://github.com/gql-dart/ferry/tree/master/normalize
44
description: Normalization and denormalization of GraphQL responses in Dart
55
repository: https://github.com/gql-dart/ferry

0 commit comments

Comments
 (0)