select default handle based on whether the argument derives from DataObject

Works perfectly, so I drop the WIP and will have another pull request simplifying code soon

Merge request reports

Loading