-
Notifications
You must be signed in to change notification settings - Fork 20
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
Multiple joins skip relations (data missing) #57
Comments
Enabling dataloader actually helped A LOT without using joins |
I would not recommend using joins unless it's necessary. Joins will make query slow since it uses If you could explain what you are trying to achieve here, I will be able to suggest a solution. |
Hi @alirizwan, To come back to this I've had some similar issues where the joins are taking forever, So like @jor3l I've enabled the dataloader but noticed there are some issues around joins with null values. It significantly increased performance once enabled but some queries don't work. An example of an issue i'm getting is in the screenshot below. I don't know if this is similarly related to another issue other libraries have had previously around dataloaders and getting back the same error. For example Happy to have a call to discuss if anything's unclear or if you need more detail. Thanks, Lewis |
I think a call would be great. Let's discuss it and perhaps find a solution together :) |
|
Query without joins runs fine (super slow tho, hundreds of queries run sequentially):
And with a join it simply ignores that find for some reason and ends up not returning data for that node:
Note that the first join at the category level is working as expected, a single query returns all the categories + products. I wan't the same for all the product options in a product but it just works by running 1:N queries. Any idea what I'm doing wrong?
The text was updated successfully, but these errors were encountered: