Open Issues Need Help
View All on GitHubAI Summary: The generated code currently uses default Fantomas settings, leading to style inconsistencies with the project's `.editorconfig`. The proposed solution is to load and apply Fantomas settings directly from the `.editorconfig` file using a Fantomas helper function, ensuring uniform formatting without needing to ignore generated files.
AI Summary: The GitHub issue reports that the F# fields generator produces code that triggers warning FS3560, which advises against using record copy-and-update (`with`) when all fields are changed. This warning causes build failures when `TreatWarningsAsErrors` is enabled. The user suggests modifying the generator to use record construction syntax, adding a `nowarn` directive to the generated code, or providing a configuration parameter to disable such warnings.
AI Summary: This issue identifies significant code duplication within the `DUCasesGenerator.fs` file. Four functions (`createToString`, `createFromString`, `createToTag`, `createIsCase`) each contain three identical code blocks for building function bindings, qualified case identifiers, and `matchOn` expressions. This duplication totals approximately 48 lines of near-identical code.