Skip to content

fix: Address property macro review follow-ups - #2987

Merged
blackmwk merged 3 commits into
mainfrom
ir-2877-pr2970-followups
Aug 12, 2026
Merged

fix: Address property macro review follow-ups#2987
blackmwk merged 3 commits into
mainfrom
ir-2877-pr2970-followups

Conversation

@blackmwk

@blackmwk blackmwk commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

What changes are included in this PR?

  • Address the final four inline review comments from @laskoviymishka on Add an internal Properties derive macro #2970.
  • Document why the extern crate self as iceberg alias is required by generated code.
  • Clarify the macro's std::Option / std::collections::HashMap requirement.
  • Replace the misleading write.data.path = "warehouse" example default.
  • Exercise the error path for Option<T> with parse_with.

This is the bottom PR in stack #2990; #2988 follows it.

Are these changes tested?

  • cargo test -p iceberg-property-macro
  • cargo fmt --all -- --check

AI Disclosure

This change was implemented and validated with OpenAI Codex assistance.

Address the final inline comments from #2970 by documenting generated-code requirements, correcting the illustrative data path default, and covering the optional custom-parser error path.
Comment thread crates/property-macro/README.md Outdated
Comment thread crates/property-macro/README.md
@blackmwk
blackmwk requested review from CTTY and laskoviymishka and removed request for CTTY August 12, 2026 03:41
@blackmwk

Copy link
Copy Markdown
Contributor Author

I think this pr is ready for review, cc @CTTY @laskoviymishka

@blackmwk
blackmwk requested a review from CTTY August 12, 2026 03:42

@laskoviymishka laskoviymishka left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nice ones!

@blackmwk
blackmwk merged commit c71965a into main Aug 12, 2026
21 checks passed
@blackmwk
blackmwk deleted the ir-2877-pr2970-followups branch August 12, 2026 17:44
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.

2 participants