Add preload to todos for REST API
What does this MR do and why?
Preload related data for API responses as there are a number of N + 1's
Avoiding the rails controller as it doesn't hit the same N + 1's
To test:
Visit the api:
localhost:3000/api/v4/todos?type=MergeRequest
Edited by Heinrich Lee Yu