Skip to content

Conversation

@hfrick
Copy link
Member

@hfrick hfrick commented Dec 4, 2024

addresses #274

This PR passes the call down to the helper functions that show up in the snapshots. It's not attempting to follow every path up from every abort call but I figured the PR is big enough already. The snapshots cover the errors we care most about, so that's a good start.

This PR also adds a call argument to validate_column_names() and recompose(), as requested in #273. (The one for weighted_table() is still to come.)

hfrick added 15 commits December 2, 2024 11:06
`forge()` errors in `validate_column_names()` but call should show the user-facing function, i.e., `forge()`

Going _up_ the call stack
- `validate_column_names()` throws the error
- `shrink()`: exported but we do want forge to bubble up outside of hardhat
- `forge_*_default_clean()`
- `run_forge()` methods for blueprints
Includes the exported but dev-facing `run_mold()` methods, similar to `run_forge()`
companion to pass call to `recompose()` from `mold()`, just up the other branch of the call tree
Copy link
Member

@EmilHvitfeldt EmilHvitfeldt left a comment

Choose a reason for hiding this comment

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

I LOVE IT!

@hfrick hfrick merged commit b1fe750 into main Dec 10, 2024
14 checks passed
@hfrick hfrick deleted the thread-call-thru branch December 10, 2024 16:22
hfrick added a commit to tidymodels/extratests that referenced this pull request Dec 11, 2024
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.

3 participants