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
This doesn't work and it exposes all fields as if I didn't specify the projection. If I change 'username': 0, then for some reason it'll properly exclude just username. I thought a inclusion projection only exposed the fields that you define and hides the others? Strangely, if I pass the projection via URL (users?projection={"username": 1}) -- inclusion works as intended.
The text was updated successfully, but these errors were encountered:
I'm trying to make use of projections on one of my endpoints named
user
to only showusername
s:This doesn't work and it exposes all fields as if I didn't specify the projection. If I change
'username': 0
, then for some reason it'll properly exclude justusername
. I thought a inclusion projection only exposed the fields that you define and hides the others? Strangely, if I pass the projection via URL (users?projection={"username": 1}
) -- inclusion works as intended.The text was updated successfully, but these errors were encountered: