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
Is there a way to only return user.profile.rating.content (and avoid hydrating the rest of the profile and rating objects)?
Right now it seems:
❌ The profile object itself is never trimmed — I always get all profile fields (fullName, age, etc.).
Is this by design (relationship hydration always includes the entire doc)?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I’m on Payload v3.49 (MongoDB) and trying to fetch only specific deeply nested fields without over-fetching.
🔗 My setup
📄 Query I’m running
✅ What I expect
Only the content field from the rating, nested inside profile:
❌ What I actually get (simplified)
🤔 Questions
Beta Was this translation helpful? Give feedback.
All reactions