Apywire reports it can't handle circular dependency: https://github.com/alganet/apywire/blob/1c9a39df36a9385d8b34...
Apywire reports it can't handle circular dependency: https://github.com/alganet/apywire/blob/1c9a39df36a9385d8b34...
However, apywire also throws CircularWiringError if you make objects that have circular dependencies as well (we do not solve it).
The paper seems like a worth read. I skimmed over it, and it seems like an interesting solution: proxy-like objects that only allow construction-type interaction but no method calls or property access until the container fully realizes the instance.
Our overall syntax allows for that implementation in the future, and python in theory is flexible enough to allow us to go for that route.
It does seem like a lot of work, but I might try to do it (for objects, for the scalars it's impossible). I was looking for a nice feature to make the project more distinct!
Thanks for your feedback!
I've made the changes and they'll be on the next version.
Thanks!