Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: nested group rules #495

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

dodgog
Copy link

@dodgog dodgog commented Jan 20, 2025

An attempt to fix the bug described in #490

The bug was due to early returning when a partial prefix match happened.
We now find the longest partial prefix match and return that instead.

@dodgog
Copy link
Author

dodgog commented Jan 20, 2025

I apologize in advance if I messed something up in the pr, I would be happy to correct or redo – it's my first time contributing here.

@tjex tjex changed the title Fixing issue 490 fix: nested group rules Jan 23, 2025
@tjex
Copy link
Member

tjex commented Jan 23, 2025

Thanks for this. And welcome :)

Having a quick first look now.

Clearly you read through the contributin doc, as the tesh case is here AND go tests. What a treat! This is already a great PR 👍

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