Subdocuments don't move with the parent
When moving documents, the UI will query for all subdocuments so we know the list of things to move
In the UI, we should confirm with the user all of the documents that will be moved
Then, the move operation will be handled for all sub-documents. 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