Skip to content

Fix optional scope healing#42

Merged
brendon merged 5 commits intobrendon:mainfrom
pyromaniac:fix-nil-scope
May 1, 2025
Merged

Fix optional scope healing#42
brendon merged 5 commits intobrendon:mainfrom
pyromaniac:fix-nil-scope

Conversation

@pyromaniac
Copy link
Contributor

Hello there.

Firs of all, thanks for initiative, it is awesome, gonna give it a try.

Secondly, at least Healer does not consider nil a a scope value. The example is a tree with parent_id. Some of the parents can be nil and Healer is failing, so here is the fix.

Copy link
Owner

@brendon brendon left a comment

Choose a reason for hiding this comment

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

Looks good to me. Thanks for separating things out :)

@pyromaniac
Copy link
Contributor Author

@brendon why don't you allow running CI without approval? I believe this will make it easier to propose patches shortening the feedback loop.

@brendon
Copy link
Owner

brendon commented May 1, 2025

@brendon why don't you allow running CI without approval? I believe this will make it easier to propose patches shortening the feedback loop.

It's just because you're a first time contributor on this gem. It stops abuse like people creating PR's with malicious code that will then be run by Github's servers.

@brendon
Copy link
Owner

brendon commented May 1, 2025

Sorry, one last thing, can you add in a changelog line? :)

@brendon brendon merged commit 1768f61 into brendon:main May 1, 2025
42 checks passed
@brendon
Copy link
Owner

brendon commented May 1, 2025

Wonderful. I'll merge and release this now :)

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