-
Notifications
You must be signed in to change notification settings - Fork 362
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
Include related models in findById #93
Comments
@bajtos would be great to have this in 2.0 |
|
We'll have to refine the findById() to take the options. |
+1 |
1 similar comment
+1 |
We just added the |
Forget this, read the next comment ¿Has this been resolved in any newer version? Notice that this prevents using the ACL resolver. If I use But if I use This bug forces us to either:
Sorry the long post. I would give you a potato, but this isn't 9gag… |
This is a immensely bigger show-stopper than I expected/commented… How could I ever limit access on the example given? I have:
Relations:
ACL:
How can I limit the access for a If I If I grant If I use a dynamic role resolver to further limit the access of why?
Then how do I access the task? With a And how do I know the taskId? Easy, just do a Oh wait… I can't do that, because But I can't use a So… How do I do this simple task? |
Consider the use-case described in #85: a product hasAndBelongsToMany categories.
At the moment, it's possible to retrieve a category by id with all its products via
findOne
:We should add support for
include
tofindById
too, so that the request can be simplified to e.g.The text was updated successfully, but these errors were encountered: