[feature] Support for eager/lazy loading
PeterSchumacher opened this issue · comments
While already being an excellent ORM, this is one feature I miss.
For inspiration, take a look at this project : https://github.com/Surt/Granada
It is based on Idiorm/Dakota (fork of Paris) and borrows ideas from Eloquent (lazy loading).
Copy paste of previous reply to this kind of request:
No, it is not planned. See #24 for more information on a fork that does some of this.
I would be open to an eager loading pull request on Paris as it has been requested a few times before.
Hi all, based on the https://github.com/PeterSchumacher comments I already started a port of the Granada eager load to the current Paris. You can check it here: https://github.com/Surt/Paris Of course the fork is open to discussion for the Paris community.
It's forked in a weird way since github does not manage well multiple forks from the same repo, but I already configured it to make a pull request when the port is finished.
As this feature is not on the roadmap and no further interest has been raised I am closing this as WontFix.
We are actually working on it. Surt's been doing a lot of work during the last week and I just commited a couple of tests. Expect a pull request suddenly :)