fix wrong optional configuration in Field.Virtual

This commit is contained in:
John Estropia committed 2020-02-21 11:17:39 +09:00
1 parent 12c5aeaaa4
commit 0df6c737c1
1 file changed
+1 -1
+1 -1
View File
@@ -325,7 +325,7 @@ extension FieldContainer.Virtual where V: FieldOptionalType {
self.init(
keyPath: keyPath,
isOptional: false,
isOptional: true,
customGetter: customGetter,
customSetter: customSetter,
affectedByKeyPaths: affectedByKeyPaths