sails-hook-deep-orm
sails-hook-deep-orm copied to clipboard
Blueprint APIs no longer populate
My Blueprint API routes were automatically and correctly populating prior to the install of this hook. Immediately after installing, Blueprint APIs no longer populate associations. I've also made a call to the Blueprint API to manually populate an association, but this does not work either.
Ex: http://localhost:3000/groups?populate=members does not populate with the members collection.
So far, my only solution is to manually write the actions for these Blueprint routes.
This is also happening with me, any news about it?
Never solved the issue. I decided to not use this hook due to concerns of other unknown issues.
Sorry guys wasn't available, ok I will look into it. I think I need contributors on this, serious contributors. This hook can become something big if we work on it. Instead of shooting it down let's make it better, contribute to it and open a pull request with your solution. I will merge it. The reason I made this open source is for that very reason, to give back to the community and enable you guys to contribute on unforeseen bugs.
@richardvclam you are free to contribute bro. The hook is straightforward on implementation, it doesn't touch much on the framework and orm. It's probably just a change in the framework or ORM that has caused this. I will look into it.
And as I'm using SailsJS in 4 different projects I think I can help you a lot to find errors and fix them.
And as I'm using SailsJS in 4 different projects I think I can help you a lot to find errors and fix them.
Cool man, do a PR and we can take forward
I'm also having this issue. I've open a Issue at SailsJS team given I've never thought it could be related with this package... Check this link, that could be useful for you where also includes a repo with that error.