I have a specific case for an old project where a Class references a another class like so:
public List<Common.Dtos.FilterSelections>? Filters { get; set; }
The output generated is missing the parent name spaces so only FilterSelections is show like so:
export class GetAssetTrackHeroColumnChartWithFiltersDto {
// WORKFLOWTOKEN
public workflowToken: string | null = null;
// GROUPTOKEN
public groupToken: string | null = null;
// DATESPANOPTION
public dateSpanOption: number = 0;
// DRILLDOWNCURRENTLEVEL
public drillDownCurrentLevel: number = 0;
// DRILLDOWNDATESTART
public drillDownDateStart: string | null = null;
// DATASETTYPE
public dataSetType: number = 0;
// FILTERS
public filters: FilterSelections[] = null;
}
Template generation code is as follows:
namespace Cylch.Atp.Dashboard.Services.Features.Reports.AssetTrack.Dtos {
$Classes(c => c.Namespace == "Cylch.Atp.Dashboard.Services.Features.Reports.AssetTrack.Dtos")[
export class $Name {
$Properties[
// $LoudName
public $name: $Type = $Type[$Default];]
}]
}
Is there a way to specify to output the full namespace instead of just FilterSelections?
Manually adding Common.Dtos. to the .tsx class resolves the full path to the included class.
I have a specific case for an old project where a
Classreferences a another class like so:public List<Common.Dtos.FilterSelections>? Filters { get; set; }The output generated is missing the parent name spaces so only
FilterSelectionsis show like so:Template generation code is as follows:
Is there a way to specify to output the full namespace instead of just
FilterSelections?Manually adding
Common.Dtos.to the.tsxclass resolves the full path to the included class.