Skip to content

Conversation

@giorni
Copy link
Contributor

@giorni giorni commented Nov 20, 2025

build_helpers was moved to be called before inherit_settings was called, resulting in parent helpers missing in child endpoints. This moves helpers build to load while initializing.

@grape-bot
Copy link

grape-bot commented Nov 21, 2025

1 Warning
⚠️ There're library changes, but not tests. That's OK as long as you're refactoring existing code.

Generated by 🚫 Danger

@ericproulx
Copy link
Contributor

Just a changelog entry and this PR is good :)

@AlexWayfer
Copy link

AlexWayfer commented Nov 21, 2025

I have issues with helpers usage inside rescue_from. I hope this PR covers it.

UPD: Yep, I've tested the branch in our project, success.

UPD2: Thank you for your fix. I hope a new release will be soon.

@giorni giorni force-pushed the fix-helper-inheritance branch from c54fa8e to fa41911 Compare November 21, 2025 16:38
build_helpers was moved to be called before inherit_settings was called,
resulting in parent helpers missing in child endpoints. This moves
helpers build to load while initializing.
@giorni giorni force-pushed the fix-helper-inheritance branch from fa41911 to f952271 Compare November 21, 2025 16:39
@giorni
Copy link
Contributor Author

giorni commented Nov 21, 2025

@ericproulx changelog added to 3.1, is it the right place?

@ericproulx
Copy link
Contributor

ericproulx commented Nov 21, 2025 via email

@giorni
Copy link
Contributor Author

giorni commented Nov 22, 2025

Just let me know if you want me to update the changelog to have 3.0.1.

@dblock
Copy link
Member

dblock commented Nov 22, 2025

This looks perfect, merging.

@dblock dblock merged commit 48f70cc into ruby-grape:master Nov 22, 2025
55 checks passed
@AlexWayfer
Copy link

I’ll probably cut a 3.0.1 release

It'd be nice. Do you have plans when?

@ericproulx
Copy link
Contributor

@AlexWayfer Just released 3.0.1

@AlexWayfer
Copy link

@AlexWayfer Just released 3.0.1

Thank you! Works just fine.

@giorni giorni deleted the fix-helper-inheritance branch November 25, 2025 16:53
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.

5 participants