Postel's law and naming conventions #276
Marvin-Brouwer
started this conversation in
Ideas
Replies: 0 comments
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.
-
I recently read this article, and honestly it makes sense:
https://bartwullems.blogspot.com/2023/02/applying-postels-law-in-aspnet-corepart.html?utm_source=csharpdigest&utm_medium&utm_campaign=1535.
And this library does support reading strings as number by the way we convert types, however.
Perhaps we can make it more lenient in places like accepting UNIX-timestamps for datetime by default.
And even more so, accepting any naming convention on DEserialize.
I'm not sure how that would work functionally, perhaps layering in a naming resolver that calls one or many naming conventions. That would give us a good spot for #267.
However, this discussion is just about whether this is something we'd want.
Beta Was this translation helpful? Give feedback.
All reactions