About relationship in CoreData-CloudKit Share

Now, when using NSPersistentCloudKitContainer.share(_ managedObjects: [NSManagedObject], to share: CKShare?), A deep traversal will be performed among the objects and any related objects will also be shared.

For example, if there are 100 posts with the same tag, I shared one of them, and the remaining 99 will be shared at the same time.

Is there any way to control whether the relationship should be shared?

About relationship in CoreData-CloudKit Share
 
 
Q