-
Notifications
You must be signed in to change notification settings - Fork 568
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
default withRelated by Model #1445
Comments
@vxcamiloxv did you ever get this to work properly? This also doesn't work for me using Bookshelf 0.12.1. |
It looks like the code that handles this event has been like that since about version 0.8.2. Also, from looking at the code I see no reason why this wouldn't work, but I haven't looked too deeply or investigated much. Can any of you provide a reproducible test case for this issue? |
In 0.8.x works fine but in 0.12.1 I was getting |
To reproduce this error you need some table like
and the above code always when
|
This seems to be fixed with the latest version. Either that or there is some information missing from this issue. Check PR #1853 for a test case that is similar to the mentioned steps to reproduce. |
With bookshelf 0.8.x I append default relation in fetch with this code:
but in 'bookshelf' 0.10.2 not work, some alternative for default relation?
The text was updated successfully, but these errors were encountered: