Skip to content

Pass attrs directly to AttributesIterator instead of validator#2665

Merged
ericproulx merged 1 commit intomasterfrom
refactor/attrs_iterator
Mar 12, 2026
Merged

Pass attrs directly to AttributesIterator instead of validator#2665
ericproulx merged 1 commit intomasterfrom
refactor/attrs_iterator

Conversation

@ericproulx
Copy link
Contributor

Summary

  • Change AttributesIterator#initialize to accept attrs directly instead of a validator object
  • Remove attrs parameter from yield_attributes signatures; subclasses access @attrs directly
  • Update all call sites (Base#validate!, DefaultValidator#validate!, MultipleParamsBase#validate!)
  • Update SingleAttributeIterator spec accordingly

🤖 Generated with Claude Code

@github-actions
Copy link

github-actions bot commented Mar 9, 2026

Danger Report

No issues found.

View run

@ericproulx ericproulx requested a review from dblock March 9, 2026 23:10
ericproulx added a commit that referenced this pull request Mar 9, 2026
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@ericproulx ericproulx force-pushed the refactor/attrs_iterator branch from a7e8bd2 to 4942e8e Compare March 9, 2026 23:11
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@ericproulx ericproulx force-pushed the refactor/attrs_iterator branch from 4942e8e to 78b7113 Compare March 12, 2026 09:34
@ericproulx ericproulx merged commit b5d8a0a into master Mar 12, 2026
79 checks passed
@dblock dblock deleted the refactor/attrs_iterator branch March 12, 2026 19:17
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