-
-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add option to Csharp generator allowing user to generate records instead of classes #1191
feat: add option to Csharp generator allowing user to generate records instead of classes #1191
Conversation
✅ Deploy Preview for modelina ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Welcome to AsyncAPI. Thanks a lot for creating your first pull request. Please check out our contributors guide useful for opening a pull request.
Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🔥
/rtm |
Pull Request Test Coverage Report for Build 4524262352
💛 - Coveralls |
🎉 This PR is included in version 1.3.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
@all-contributors please add @henrikjon for code, test, doc, example |
I've put up a pull request to add @henrikjon! 🎉 |
🎉 This PR is included in version 2.0.0-next.6 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Description
This PR adds an option to the C# generator allowing it to render records instead of classes. This is done using a new renderer that implements
self
,property
andadditionalContent
hooks. It does not support using theautoimplementedProperties
as option as this is instead a default when generating records.Related issue(s)
Resolves #1153