-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
Use the more conventional camel case for generated parameters #59
Conversation
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.
Also, please add Changelog entry :)
Those being: - get - set - add - remove
Done with 5506650. |
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.
Shouldn't With-methods use camelCase as well?
test/Amadevus.RecordGenerator.Test/RecordNamingConventionsTests.cs
Outdated
Show resolved
Hide resolved
src/Amadevus.RecordGenerator.Generators/RecordPartialGenerator.cs
Outdated
Show resolved
Hide resolved
Broken by commit 8ac523c.
[xUnit.net 00:00:00.44] Amadevus.RecordGenerator.Test: Skipping test case with duplicate ID f4964700a5ae6318d746f8f9e7f17b599fcfdcaf: Parameter_Name_Uses_Camel_Case(type: "Builder", method: "set_Id", name: "value") Parameter_Name_Uses_Camel_Case(type: "Builder", method: "set_Id", name: "value") [xUnit.net 00:00:00.44] Amadevus.RecordGenerator.Test: Skipping test case with duplicate ID '3bc3e875c6bc477ff0e62177a965bccb12311bc1: Parameter_Name_Uses_Camel_Case(type: "Builder", method: "set_Name", name: "value") Parameter_Name_Uses_Camel_Case(type: "Builder", method: "set_Name", name: "value")
I'm in the middle of changing CI (appveyor->azure pipelines), so please hold on, I'll merge it when the move-over is done. |
Meanwhile, wanted to say thanks for all your prompt reviews. It's fun working on a project where the maintainer is super responsive and detail-oriented. |
Seems like you got the tests sorted out with 6430ed6 so I merged with master and the tests are passing (including on AppVeyor)! 🎉 |
Follow-up for #28 (analyzer asserting property names are case-insensitive different, e.g. no properties like |
This PR fixes issue #57.