error ♡
error ♡
CC#
Created by error ♡ on 9/25/2024 in #help
How do I make a good DTO of lot's of classes.
thanks for this, It might be what i'm looking for
16 replies
CC#
Created by error ♡ on 9/25/2024 in #help
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
CC#
Created by error ♡ on 9/25/2024 in #help
How do I make a good DTO of lot's of classes.
not sure, if that's a thing
16 replies
CC#
Created by error ♡ on 9/25/2024 in #help
How do I make a good DTO of lot's of classes.
i am looking for something like, enum of classes , and that field can be set by only one class
16 replies
CC#
Created by error ♡ on 9/25/2024 in #help
How do I make a good DTO of lot's of classes.
i want my API to be language agnostic
16 replies
CC#
Created by error ♡ on 9/25/2024 in #help
How do I make a good DTO of lot's of classes.
I have a bunch of C# classes, If i combined them into one class, I can use it, So that Swagger can Autogen my C# classes into python and other stuff
16 replies
CC#
Created by error ♡ on 9/25/2024 in #help
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
CC#
Created by error ♡ on 9/25/2024 in #help
How do I make a good DTO of lot's of classes.
these can't that's the problem
16 replies
CC#
Created by error ♡ on 9/25/2024 in #help
How do I make a good DTO of lot's of classes.
yes, kinda it accepts an array of king, which each king having a single field only set
16 replies
CC#
Created by error ♡ on 9/25/2024 in #help
How do I make a good DTO of lot's of classes.
yes King is a DTO for my endpoint
16 replies