All challenges
Multiple ChoiceBeginner 45s

Abstraction leakage

A repository interface returns EF Core IQueryable so callers can compose queries. What is the main problem?
Options
  1. 1It is measurably faster than returning materialized collections from the repository
  2. 2The ORM's abstraction leaks into callers, coupling domain logic to persistence details
  3. 3It makes unit testing somewhat harder but otherwise carries no real design cost or risk
  4. 4There is no real problem, because IQueryable is a clean and composable abstraction layer

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle