-
Notifications
You must be signed in to change notification settings - Fork 214
Big icu_provider
renaming
#2207
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
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.
Initial comments
@@ -75,7 +75,7 @@ | |||
|
|||
- General data model | |||
- `DataPayload` no longer needs a lifetime (#1297, #1279) | |||
- Re-write ResourceKey (#1511) | |||
- Re-write DataKey (#1511) |
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.
Nit: Don't backport name changes to docs and changelog that are temporal
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.
We have actually done this in other renamings as well (Format -> Formatter). I think it makes sense, these are clean renames and the change log will be harder to interpret if the names in it don't exist anymore.
@@ -126,12 +126,12 @@ impl Collator { | |||
} | |||
filtered_locale | |||
}; | |||
let resource_options: ResourceOptions = locale.into(); | |||
let data_options: DataOptions = locale.into(); |
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.
Nit (optional): Since you're in this code anyway would you consider changing it to DataLocale now? If not or you still want to talk about that, it can be done later
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.
These are the names we've agreed on for now, let's do this separately. DataLocale also requires renaming lots of variables from options
to locale
, so it's actually more than just renaming the type.
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.
Let's merge while it's green
Part of #1576