Skip to content

Commit dfcd5dc

Browse files
authored
Merge pull request #13 from MORYX-Industry/fix/product-config-creation
Remove `Moryx.` prefix from product config target types
2 parents 5b0957e + cb0d6f8 commit dfcd5dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Moryx.Cli.Commands/AddProducts.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,15 +90,15 @@ private static GenericTypeConfiguration BuildProductTypeConfiguration(string sol
9090
=> new()
9191
{
9292
JsonColumn = "Text8",
93-
TargetType = $"Moryx.{solutionName}.Products.{product}Type",
93+
TargetType = $"{solutionName}.Products.{product}Type",
9494
PropertyConfigs = new List<PropertyMapperConfig>(),
9595
PluginName = "GenericTypeStrategy",
9696
};
9797

9898
private static ProductInstanceConfiguration BuildProductInstanceConfiguration(string solutionName, string product)
9999
=> new()
100100
{
101-
TargetType = $"Moryx.{solutionName}.Products.{product}Instance",
101+
TargetType = $"{solutionName}.Products.{product}Instance",
102102
PluginName = "SkipInstancesStrategy",
103103
};
104104
}

0 commit comments

Comments
 (0)