-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
code refactoring #11638
code refactoring #11638
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.
I'm signing off (with some questions/suggestions) on the API shape, not all the code changes. Please have someone from your language team review.
'name': {'key': 'name', 'type': 'str'}, | ||
'type': {'key': 'type', 'type': 'str'}, | ||
'key': {'key': 'key', 'type': 'bool'}, | ||
'is_hidden': {'key': 'isHidden', 'type': 'bool'}, |
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.
Why is this one prefaced with "is" while others are not? I'd be consistent for your language. Also, I'm not clear on what this _attribute_map
is, since there's no isHidden
on the model itself but, this is to be the reverse of retrievable
that is on the model.
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.
All models exposed to users use is_hidden. Could you tell me which one you found w/o "is". It may be a bug...
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.
None of the properties below this had it. If these are internal mappings of some sort, not a big deal, but raises the question where is_hidden
is coming from, given it's the negation of the JSON field retrievable
.
/check-enforcer reset |
/check-enforcer evaluate |
No description provided.