How to use DTO class outside of route method? #3898
-
How can I get the following example working?
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Maybe not, but it is how they are currently working. So to answer your question: You can't. There are plans to make the DTOs available standalone, but it will be a while before we get to that. |
Beta Was this translation helpful? Give feedback.
-
Ah ok - thank you very much for the swift response @provinzkraut - looking forward to the future developments on DTOs. |
Beta Was this translation helpful? Give feedback.
Maybe not, but it is how they are currently working. So to answer your question: You can't.
There are plans to make the DTOs available standalone, but it will be a while before we get to that.