Closed beerbohmdo closed 4 months ago
Thanks for implementing this. Can you please include some manual testing steps? Preferably with some code I can just copy into a project and see it work. That will make this a lot easier to test and therefore I'll be able to do so sooner.
I've added a code snippet
Description
Polymorphic has_one relations are currently not supported by eager-loading it just throws an error that DataObject is not a valid data class.
This PR relies on my previous PR https://github.com/silverstripe/silverstripe-framework/pull/11185, which is currently only in 5.2
Manual testing steps
Issues
11203
Pull request checklist