Subdocuments don't move with the parent
When moving documents, the UI will query for all children documents so we know the list of things to move
In the UI, we should confirm for the user all of the documents that will get moved
Then, the move operation will be handled for all sub-documents as part of the move operation. The move operation is to create a new ref for the new location, and create a redirect ref on the old location
Look into the logic for deleting, to see an example of querying for all children and showing the user all the document paths that will be affected
Do you like what you are reading? Subscribe to receive updates.
Unsubscribe anytime
Powered by Seed HypermediaOpen App