Proposal: optional utility types (Password, EmailAddress, DSN, etc.) #229
rnag
started this conversation in
Feature Request
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’m considering whether it makes sense for dataclass-wizard to ship a small set
of optional utility types (value objects) that are commonly useful when
loading/serializing data.
Examples (illustrative, not final):
Password– masks value inrepr/print, but allows explicit accessEmailAddress– parses/normalizes email stringsRedisDsn/PostgresDsn/Dsn– structured DSN parsing (similar to Pydantic)These would:
Questions:
dataclass_wizard.types)?Looking for feedback before deciding on scope or API.
Beta Was this translation helpful? Give feedback.
All reactions