Split DTOs on ServiceStack client #12
Replies: 1 comment 4 replies
-
Not from a single command, but you can create multiple .dtos files each with their own custom IncludeTypes which specifies which types you want in each file: https://docs.servicestack.net/csharp-add-servicestack-reference.html#includetypes Then you can update them all with a single command, e.g:
Although if it's just C# DTOs you want to do this for, you're better off structuring the ServiceModel in the layout you want then just xcopying the *.cs files to your client project, but typically it'd be easier to just reference the ServiceModel project directly in your client App. |
Beta Was this translation helpful? Give feedback.
4 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.
-
Hi guys,
my question is very straightforward. Is there any way of spliting the generated DTO files on client side in multiple DTOs, like one for each service model?
Thank you in advance for your answer.
Beta Was this translation helpful? Give feedback.
All reactions