Skip to content

Support generating immutable records #407

@ebarnard

Description

@ebarnard

Is your feature request related to a problem? Please describe.
I'd like to be able to generate immutable records.

NJsonSchema supports this by setting GenerateNativeRecords = true and ClassStyle = CSharpClassStyle.Record in CSharpGeneratorSettings.

Describe the solution you'd like
Add support for setting ClassStyle in codeGeneratorSettings in the .refitter file.

Describe alternatives you've considered
N/A

Additional context
N/A

Metadata

Metadata

Labels

enhancementNew feature, bug fix, or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions