-
Notifications
You must be signed in to change notification settings - Fork 42
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
UIU-2936: add user type for user info section #2551
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 raised this issue already in #2546 but it was ignored there: All the supporting documentation refers to this property as "user type" and yet the variable is consistently named type
. The code and the documentation must be consistent so either the code or the documentation must be changed. This will be easier now while the problem is still relatively small.
This may seem petty, but in a large system like FOLIO this kind of low-level friction becomes a real problem because it becomes impossible to predict what anything will be named. type? usertype? userType?
I will approve this PR when all code, translations, and documentation are consistent.
@zburke I totally agree with you. I would use |
@alisher-epam , IMNSHO, the backend folks should just fix their data structure. Short of that, I don't know what the cleanest/simplest option is. Maybe it's aliases as you suggest, or maybe it's just sucking it up and ignoring that all our labels will be I'll try to figure out a more useful venue to air my complaints. It's not your fault that you were given this conflicted API. |
@zburke just to confirm, does it mean that you don't block this PR even with |
@NikitaSedyx , correct, I am not blocking it. IMO this property should be called |
Kudos, SonarCloud Quality Gate passed! |
Purpose
UIU-2936 - add user type for User info section
Approach
TODOS and Open Questions
Learning
Pre-Merge Checklist
Before merging this PR, please go through the following list and take appropriate actions.
If there are breaking changes, please STOP and consider the following:
Ideally all of the PRs involved in breaking changes would be merged in the same day to avoid breaking the folio-testing environment. Communication is paramount if that is to be achieved, especially as the number of intermodule and inter-team dependencies increase.
While it's helpful for reviewers to help identify potential problems, ensuring that it's safe to merge is ultimately the responsibility of the PR assignee.