-
Notifications
You must be signed in to change notification settings - Fork 453
Feature: Rename enum in KDL #2095
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
Conversation
|
Thanks for the PR! This section of the codebase is owned by @saschanaz - if they write a comment saying "LGTM" then it will be merged. |
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.
Nothing to do with mixin? LGTM with title change
inputfiles/patches/clienttype.kdl
Outdated
| @@ -0,0 +1 @@ | |||
| enum ClientType name="ClientTypes" | |||
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.
The file name can be type-rename.kdl
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.
Done, but i have named it typerename.kdl, to follow the same format as the other files
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.
Hmm? typerename is not single word while other file names are single words
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.
Okay, I will update it
I have changed it |
|
Sorry @Bashamega, you don't have access to these files: |
|
LGTM |
|
There was an issue merging, maybe try again saschanaz. Details |
inputfiles/patches/type-rename.kdl
Outdated
| @@ -0,0 +1 @@ | |||
| enum ClientType name="ClientTypes" | |||
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.
BTW you can also skip quote.
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.
Would you like me to remove them? I find it more readable with quotes, especially for properties
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.
enum ClientType name="ClientTypes"
enum ClientType name=ClientTypes
The quote gives a strong signal of "I'm string", but technically everything is string here, including enum (you can do "enum" and get the same result). So I prefer skipping it for consistency.
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.
Done
|
LGTM |
|
There was an issue merging, maybe try again saschanaz. Details |
|
LGTM |
|
Merging because @saschanaz is a code-owner of all the changes - thanks! |
related #2053