Skip to content

Commit

Permalink
Merge pull request #2098 from fzyzcjy/feat/12335
Browse files Browse the repository at this point in the history
  • Loading branch information
fzyzcjy authored Jun 18, 2024
2 parents a8db0b6 + 0936946 commit 1231a44
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,10 @@ fn transform_component_raw<T: Debug + Clone + Serialize, K: Eq + Hash + Debug>(
assert!(!items_of_key.is_empty());

if items_of_key.len() > 1 {
log::warn!(
log::info!(
"There are still multiple objects with same key after merging, \
thus randomly pick one (key={key:?}, objects={})",
thus randomly pick one. This is an issue only if the object is indeed used. \
(key={key:?}, objects={})",
(items_of_key.iter())
.map(|x| serde_json::to_string(x).unwrap())
.join(", "),
Expand Down

0 comments on commit 1231a44

Please sign in to comment.