Skip to content

[v4] better handling of splat kwargs and with_collection#2332

Merged
joelhawksley merged 15 commits into
v4from
2020-splat-kwarg
Jun 9, 2025
Merged

[v4] better handling of splat kwargs and with_collection#2332
joelhawksley merged 15 commits into
v4from
2020-splat-kwarg

Conversation

@joelhawksley
Copy link
Copy Markdown
Member

What are you trying to accomplish?

This PR attempts to fix #2020.

What approach did you choose and why?

I had to make some somewhat significant changes to our inheritance approach due to how Rails.application.routes.url_helpers was adding an initializer to all ViewComponents.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 6, 2025

1 file(s) had their final line ending fixed:

  • test/sandbox/app/components/item_component.rb

@joelhawksley joelhawksley marked this pull request as ready for review June 9, 2025 15:39
@joelhawksley joelhawksley changed the title [v4] DRAFT - better handling of splat kwargs [v4] better handling of splat kwargs and with_collection Jun 9, 2025
@joelhawksley joelhawksley merged commit 74fc048 into v4 Jun 9, 2025
12 of 13 checks passed
@joelhawksley joelhawksley deleted the 2020-splat-kwarg branch June 9, 2025 16:30
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