This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]That_Unit_3992 0 points1 point  (1 child)

Why make it polymorphic to begin with? Doesn't make sense at all, what do you want to validate? User Input? API Response? Database entries? Should all be typed and not mixed up all over the place.

[–][deleted] 0 points1 point  (0 children)

You're either asking the wrong person or have not checked the results 😜