-
Notifications
You must be signed in to change notification settings - Fork 18
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
VOC-406 Introduces LocalesWithText as a way to abstract away from Map<String,String> #440
Conversation
…ling with Map<String, String>. Allows us to move away from a Util and use methods and extensions instead. Organizes a few util package files into locale package
I want to move away from using LocaleString all together but Locale was not friendly to conversions in my 10 minute attempt. I could at least strip it from Domain and below if our models had separation :) |
} | ||
|
||
} | ||
} |
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.
Dang, Moshi doesn't play nice with typealiases out of the box?
/** | ||
* Sets the string corresponding to the given localeString. | ||
* @param localeString | ||
* @param text |
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.
Is there value in including @param
tags that have no further description?
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.
LGTM Thanks!
Try to keep an eye out for ways to break up PRs that touch 42 files. That can be by having multiple commits within the PR, where the big "name change" commits are isolated, or spreading the work across multiple PRs 😁
…lias in DB converters
…hub.com/willowtreeapps/vocable-android into VOC-406/make-localized-types-more-clear
Description:
Introduces LocalesWithText as a way to abstract away from Map<String,String>.
Allows us to move away from a Util and use methods and extensions instead.
Organizes a few util package files into locale package.
No new DB manipulation should be necessary since its transformed from a string in both scenarios.
Acceptance Criteria satisfied
Regression Testing