Core Data document and DocumentGroup (migrating from NSPersistentDocument / UIManagedDocument)

Hi folks,
is there an easy way to use Core Data-backed document with a SwiftUI DocumentGroup?

My app is currently using NSPersistentDocument / UIManagedDocument and I struggle to migrate it to the new API.
Any tips appreciated :)
Core Data document and DocumentGroup (migrating from NSPersistentDocument / UIManagedDocument)
 
 
Q