File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change
1
+ # Unreleased
2
+ - [ changed] Passing a non-nil value to the ` @DocumentID ` property wrapper's
3
+ setter no longer logs a warning since it discouraged valid patterns,
4
+ e.g., updating the document ID after the document is created in Firestore. (#12756 )
5
+
1
6
# 10.24.0
2
7
- [ feature] Enable queries with range & inequality filters on multiple fields. (#12416 )
3
8
Original file line number Diff line number Diff line change @@ -121,12 +121,7 @@ public struct DocumentID<Value: DocumentIDWrappable & Codable>:
121
121
122
122
public var wrappedValue : Value ? {
123
123
get { value }
124
- set {
125
- if let someNewValue = newValue {
126
- logIgnoredValueWarning ( value: someNewValue)
127
- }
128
- value = newValue
129
- }
124
+ set { value = newValue }
130
125
}
131
126
132
127
private func logIgnoredValueWarning( value: Value ) {
You can’t perform that action at this time.
0 commit comments