This document outlines an approach to designing REST API’s to optimise requests made from a GraphQL server in combination with DataLoader.
Entities should always include their own id
.
One-to-one relationships should be exposed through a field on the entity and never through denormalisation.