You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge pull request #30 from ABridoux/fetchable-value
# New FetchableValue protocol
Removed DatabaseValue and DatabaseTestValue protocol in favor of a single protocol FetchableValue to make it easier for complex types to be used in a predicate.
Also added support for NSManagedObject and NSManagedObjectID comparison and to-many relationship contains operator.
/// Safely builds a predicate for a provided entity type.
43
+
/// Returns a `NSPredicate` built from a SafeFetching predicate.
44
+
/// - Parameters:
45
+
/// - _: Entity type used to build the predicate.
46
+
/// - fetchableMember: A closure that takes an `Entity.FetchableMembers` value to return a `FetchableMember` targeting a Boolean attribute of `Entity`.
0 commit comments