Imagine we have User and we have Task and User has Tasks.
If we want to fetch all the Tasks but also get info on each of their user, something like name, or email, or similar, this is not so easy to do in Wasp right now.
You have to manually do that complicating inclusion:
Imagine we have User and we have Task and User has Tasks. If we want to fetch all the Tasks but also get info on each of their user, something like name, or email, or similar, this is not so easy to do in Wasp right now.
You have to manually do that complicating inclusion:
We explain this in the docs now, but still, it is a lot of code to write and easy to make a mistake.
We should look into providing a helper function for this, that would cover this
auth -> identities -> ...
part for them.