Skip to content

Commit cb0d6f8

Browse files
committed
Remove Moryx. prefix from product config target types
Otherwise, config values would mismatch the actual types and result in products which can't be initialized.
1 parent 5b0957e commit cb0d6f8

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)