Choosing Between IEnumerable<T> and IReadOnlyCollection<T> in GET endpoints
I recently caught myself mindlessly implementing a GET API endpoint that returned an IEnumerable<T>. I've also seen this pattern repeated in many API implementations across different services. While it works, I want to walk through why using IReadOnl...
quangphan.hashnode.dev4 min read