Support for Validating Structs? #20
CodingFlow
started this conversation in
General
Replies: 1 comment 2 replies
-
|
Yeah, no problem. I ignored structs because it is generally not recommended to use them for these purposes. Both DTOs and entities are usually larger than 16 bytes, which exceeds the commonly recommended size limit for structs versus classes. That said, I can still envision scenarios where validating structs makes sense. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Any chance support for validating structs with Validly possible? Does it make sense? I'm trying to use structs for DTOs, but just found Validly doesn't support them 😢
Beta Was this translation helpful? Give feedback.
All reactions