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 bug where underscore/dasherize misses single characters #316

Merged

Conversation

protestContest
Copy link
Contributor

This fixes a bug in JSONAPI.Utils.String.underscore/1 and JSONAPI.Utils.String.dasherize/1, where dashes or underscores would be missed when following a single character.

@protestContest protestContest requested a review from a team as a code owner February 23, 2024 19:06
@protestContest
Copy link
Contributor Author

I didn't create an issue for this bug, but I can if you'd like it for tracking purposes.

I can also fold this into #315, along with a version bump, if that's easier too.

Copy link
Member

@mattpolzin mattpolzin left a comment

Choose a reason for hiding this comment

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

Yay for Regex. Hah. Nicely done.

@mattpolzin
Copy link
Member

I'll merge this, then let's rebase your other branch and incorporate both changes in the same version and release notes per your suggestion.

@mattpolzin mattpolzin merged commit f3db97d into beam-community:main Feb 23, 2024
16 checks passed
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.

None yet

2 participants