You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Martinsos
changed the title
Provide helper functions for populating user as part of another Prisma entity
Provide a way to user for populating user as part of another Prisma entity
May 16, 2024
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.The text was updated successfully, but these errors were encountered: