Fix small problem with sample code in README

This commit is contained in:
Mathew Polzin
2018-12-27 18:22:31 -08:00
parent 109e15d741
commit 72769b6107
+1 -1
View File
@@ -456,7 +456,7 @@ extension EntityDescription1.Attributes {
property2 = try .defaultDecoding(from: container, forKey: .property2)
property3 = try .defaultDecoding(from: container, forKey: .property3)
weirdThing = "hello world"
weirdThing = .init(value: "hello world")
}
public func encode(to encoder: Encoder) throws {