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

Add ForkByKeyProvider, first multi-source data provider #1463

Merged
merged 6 commits into from
Jan 4, 2022

Conversation

sffc
Copy link
Member

@sffc sffc commented Dec 31, 2021

Fixes #1107

This only handles fallback across keys; however, it establishes an API design for what ForkByLocaleProvider will eventually need to do. Fallback across locales is blocked on #1109.

@jira-pull-request-webhook
Copy link

Notice: the branch changed across the force-push!

  • provider/core/src/filter/mod.rs is different
  • provider/core/src/hello_world.rs is different
  • provider/core/src/lib.rs is different
  • provider/core/tests/iteration.rs is different

View Diff Across Force-Push

~ Your Friendly Jira-GitHub PR Checker Bot

Manishearth
Manishearth previously approved these changes Jan 1, 2022
/// }
/// }
/// })
/// .expect("Loading should succeed")
/// .take_payload()
/// .expect("Data should be present");
///
/// assert_eq!("Salut, lume", romanian_hello_world.get().message);
/// assert_eq!("你好世界", romanian_hello_world.get().message);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: probably need to update the variable name

@sffc sffc merged commit 9fdbd62 into unicode-org:main Jan 4, 2022
@sffc sffc deleted the dpwork branch January 4, 2022 00:19
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.

Multi-blob data provider
2 participants