silverstripe / silverstripe-graphql

Serves Silverstripe data as GraphQL representations
BSD 3-Clause "New" or "Revised" License
52 stars 61 forks source link

FIX Handle using injected subclasses #549

Closed emteknetnz closed 1 year ago

emteknetnz commented 1 year ago

Issue - https://github.com/silverstripe/silverstripe-graphql/issues/524

Original fix - https://github.com/wilr/silverstripe-graphql/commit/623bc9833039996c0c52f1a756b753730923e2b4

Without code fix, new unit test will either hang indefinately or go to 256 levels of recursion if xdebug is enabled