The subset of a user this resolver reads. UserInfo satisfies it structurally, so callers pass UserCache.Users directly while tests pass plain objects — no cast, no singleton, no database.
UserInfo
UserCache.Users
The subset of a user this resolver reads.
UserInfosatisfies it structurally, so callers passUserCache.Usersdirectly while tests pass plain objects — no cast, no singleton, no database.