DTO
#3713
Replies: 1 comment
-
It's not clear from your question what you're trying to achieve. The DTOs are not interchangeable. So to answer your question: The recommended DTO to use is the one appropriate for the data you are modelling. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! I'm studying the litestar documentation and I can't quite figure it out. What is recommended as the DTO used.
I've been testing SQLAlchemyDTO However, I could not achieve validation of the string length. Using PydanticDTO everything worked out fine.
Maybe I'm doing something wrong.
Thanks to the authors for their work
Beta Was this translation helpful? Give feedback.
All reactions