diff --git a/Sources/Value.swift b/Sources/Value.swift index f2940fe..97fd6b2 100644 --- a/Sources/Value.swift +++ b/Sources/Value.swift @@ -86,7 +86,7 @@ public enum ValueContainer { ``` - Important: `Value.Required` properties are required to be stored properties. Computed properties will be ignored, including `lazy` and `weak` properties. */ - public final class Required: AttributeProtocol { + public final class Required: AttributeProtocol where V.QueryableNativeType: CoreDataNativeType { /** Initializes the metadata for the property. @@ -231,7 +231,7 @@ public enum ValueContainer { ``` - Important: `Value.Optional` properties are required to be stored properties. Computed properties will be ignored, including `lazy` and `weak` properties. */ - public final class Optional: AttributeProtocol { + public final class Optional: AttributeProtocol where V.QueryableNativeType: CoreDataNativeType { /** Initializes the metadata for the property.