Skip to content
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

Merged
merged 2 commits into from
May 28, 2020
Merged

code refactoring #11638

merged 2 commits into from
May 28, 2020

Conversation

xiangyan99
Copy link
Member

No description provided.

@xiangyan99
Copy link
Member Author

#11565

@xiangyan99
Copy link
Member Author

#11510

@xiangyan99
Copy link
Member Author

#11506

@xiangyan99 xiangyan99 requested a review from heaths May 27, 2020 18:20
Copy link
Member

@heaths heaths left a 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'},
Copy link
Member

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.

Copy link
Member Author

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...

Copy link
Member

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.

@xiangyan99
Copy link
Member Author

/check-enforcer reset

@xiangyan99
Copy link
Member Author

/check-enforcer evaluate

@xiangyan99 xiangyan99 merged commit 41116fa into master May 28, 2020
@xiangyan99 xiangyan99 deleted the search_refactoring_3 branch May 28, 2020 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants