Hi Demis,
we have a couple of dto’s only used within SSE. If we generate the dto’s through ss-util we don’t get them generated because they arent implemented in any service nor have the [Route] Attribute since there is no route.
What is the recommendet way to have those Dto’s also included?
@joao it was only for overriding the default visibility and to export classes that were excluded (i.e. built-in System or ServiceStack Types). You can use a stub Service class to include DTOs which you want included.
Using [ExcludeMetadata] will hide this service from being disclosed in any of the metadata services, e.g:
[ExcludeMetadata]
public class ExportTypes
{
SyncWalletNotification { get; set; }
}
class ExportTypesService : Service
{
public object Any(ExportTypes request) => request;
}