From 962ae05380404e2e4edd0132d9ac86ae819bf734 Mon Sep 17 00:00:00 2001 From: Erik Ejlskov Jensen Date: Tue, 7 Nov 2023 07:34:15 +0100 Subject: [PATCH] default to having pluralizer enabled (just like the builtin tooling) fixes #1996 --- src/GUI/RevEng.Shared/Cli/Configuration/CodeGeneration.cs | 2 +- .../Shared/Handlers/ReverseEngineer/ReverseEngineerOptions.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/GUI/RevEng.Shared/Cli/Configuration/CodeGeneration.cs b/src/GUI/RevEng.Shared/Cli/Configuration/CodeGeneration.cs index fdd53e238..515d1b06b 100644 --- a/src/GUI/RevEng.Shared/Cli/Configuration/CodeGeneration.cs +++ b/src/GUI/RevEng.Shared/Cli/Configuration/CodeGeneration.cs @@ -20,7 +20,7 @@ public class CodeGeneration public bool UseNullableReferenceTypes { get; set; } = true; [JsonPropertyName("use-inflector")] - public bool UseInflector { get; set; } + public bool UseInflector { get; set; } = true; [JsonPropertyName("use-legacy-inflector")] public bool UseLegacyInflector { get; set; } diff --git a/src/GUI/Shared/Handlers/ReverseEngineer/ReverseEngineerOptions.cs b/src/GUI/Shared/Handlers/ReverseEngineer/ReverseEngineerOptions.cs index 51fcc6217..117bfedd6 100644 --- a/src/GUI/Shared/Handlers/ReverseEngineer/ReverseEngineerOptions.cs +++ b/src/GUI/Shared/Handlers/ReverseEngineer/ReverseEngineerOptions.cs @@ -25,7 +25,7 @@ public class ReverseEngineerOptions public string ContextClassName { get; set; } public List Tables { get; set; } public bool UseDatabaseNames { get; set; } - public bool UseInflector { get; set; } + public bool UseInflector { get; set; } = true; public List UncountableWords { get; set; } public bool UseHandleBars { get; set; } public bool UseT4 { get; set; }