Another way this is noted is that Factories are “pure domain...

Another way this is noted is that Factories are “pure domain”, but that Repositories can contain links to the infrastructure, e g the database.

www.joshbeckman.org/notes/446271392