Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Joins on the fly #5

Open
esatterwhite opened this issue Jul 21, 2016 · 0 comments
Open

Support Joins on the fly #5

esatterwhite opened this issue Jul 21, 2016 · 0 comments

Comments

@esatterwhite
Copy link
Member

Currently if you want to include related data you need to specify the join on the resource definition

Resrouce.extend({
   options:{
      queryset:Model.find().getJoin({...})
   }
})

If this isn't done, then filters across relations won't work. If there is a way to check & fetch if the join wasn't initially defined, that would be desirable.

I was having a problem with getJoin and custom methods on models - in that it didn't work and crashed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant