dan.baumann
Oct 31st, 2006, 10:03 AM
I'm currently looking at the airline example.
The decoupling of domain types from schema types makes a lot of sense to me, because I've seen them drift apart in real world projects (which is a pain if you didn't expect it).
So while I appreciate the design, shouldn't there be a simpler approach to conversion than the manual one found in the several convertToSchemaType() methods in GetFlightsEndpoint? Initially, the classes in both packages tend to be identical. Would't it make sense to use another mapping solution?
Or am I missing something?
Thanks,
Dan
The decoupling of domain types from schema types makes a lot of sense to me, because I've seen them drift apart in real world projects (which is a pain if you didn't expect it).
So while I appreciate the design, shouldn't there be a simpler approach to conversion than the manual one found in the several convertToSchemaType() methods in GetFlightsEndpoint? Initially, the classes in both packages tend to be identical. Would't it make sense to use another mapping solution?
Or am I missing something?
Thanks,
Dan