Skip to content

Commit b7786c6

Browse files
sevenelevenMarisa Goergen
authored andcommitted
Remove Moryx. prefix from type name when adding products
1 parent 7f1d7f9 commit b7786c6

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)