Skip to content

Commit 52da81c

Browse files
Merge pull request #2 from MORYX-Industry/bugfix/product-config
Remove `Moryx.` prefix from type name when adding products
2 parents 7f1d7f9 + b7786c6 commit 52da81c

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)