error ♡
How do I make a good DTO of lot's of classes.
problem is, rn, while i'm parsing this List<Geometry>
I have specific function on my service, which takes Line,Point(Primitive) class as input, which is basically present inside the geometry class, but I can't specify it correct. Does this make sense?
16 replies
How do I make a good DTO of lot's of classes.
let's say, u have bunch of classes like, point, line, curve
and I want to have a Geometry class, which would be the DTO that interacts with my client,
and the geometry class can have any one of those primitive types
16 replies