DEV Community

Discussion on: Five reasons you should consider AppSync over API Gateway

Collapse
 
theburningmonk profile image
Yan Cui

yes, pretty much, for example, getMyProfile would return your Profile (the private one), but getUserProfile(userId: ID!) would return another user's PublicProfile. Even though both are coming from the same row in the DynamoDB, the fact that some fields are not on the schema means the extra data is excluded and not returned in the result.