How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Mapping entity objects to domain interface

calendar_today June 22, 2026 person F.M domain spring-boot

I have an interface in domain and two string infrastructure that represent that interface. the problem is, the interface cannot initiate in mapper class so I don’t know how to map entity to domain in manual mapping. I started learning senior coding so I shouldn’t use switch and should consider solid concepts.

open_in_new Read original post