Skip to content

Conversation

crwen
Copy link
Contributor

@crwen crwen commented Aug 26, 2025

What changes are included in this PR?

adjust dynamic schema api to support composite key in the future.

BREAKING CHANGE:

  • DynRecord::new(Vec<Value>, usize) --> DynRecord::new(Vec<Value>, Vec<usize>)
  • DynSchema::new(Vec<DynamicField>, usize) --> DynRecord::new(Vec<DynamicField>, &[usize])
  • dyn_schema!(fields, ..., 0) --> dyn_schema!(fields, ..., [0])
  • make_dyn_schema(fields ..., 0) --> make_dyn_schema(fields ..., [0])

Copy link

codecov bot commented Aug 26, 2025

Codecov Report

❌ Patch coverage is 98.81657% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/record/dynamic/record_ref.rs 92.59% 2 Missing ⚠️

📢 Thoughts on this report? Let us know!

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.

1 participant