Passing the parent when parent is the same component type in Aurelia
问题 Edit: This question used to be titled "Getting parent via DI when parent is the same type in Aurelia" but due to how my elements are nested, it makes more sense to just bind the parent to the element, so the title has been changed to reflect this. If I have a custom element, Thing which has a child Thing (which has a another child Thing , etc), how can I inject the parent instance when the class is the same? export class Thing { static inject = [Thing]; // <-- no reference to Thing as we are