Skip to content

[LON-427] Drop snake-case package - #253

Merged
mt-btanner merged 3 commits into
masterfrom
lon-427-drop-snake-case
Jul 30, 2026
Merged

[LON-427] Drop snake-case package#253
mt-btanner merged 3 commits into
masterfrom
lon-427-drop-snake-case

Conversation

@mt-btanner

Copy link
Copy Markdown
Contributor

We have logic for this (and more complex usecases) in other projects; this PR introduces the simplest possible version here to allow dropping a dependency.

I also update the /sample directory yarn.lock to reflect recently removed dependencies by running yarn install.

@mt-btanner mt-btanner self-assigned this Jul 29, 2026
@mt-btanner
mt-btanner requested review from a team as code owners July 29, 2026 07:56
@mt-mwalston

Copy link
Copy Markdown

Code looks good, and it might just be my unfamiliarity with the codebase but I don't see a test for the snake case functionality.

@mt-btanner

Copy link
Copy Markdown
Contributor Author

I don't see a test for the snake case functionality.

Yeah there's no explicit test but this one covers it implicitly since the inputs are camelCase and the expectation is snake_case.

I also wasn't too worried about it in general since the logic is literally copy/pasted from Vault/Guest Service where it's extensively tested/hasn't caused issues yet, but I can also copy the tests across if you'd prefer.

@mt-btanner
mt-btanner force-pushed the lon-427-drop-snake-case branch from 22cfd24 to 9f08ef2 Compare July 30, 2026 05:48
@mt-btanner
mt-btanner merged commit 1a3ac29 into master Jul 30, 2026
4 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.

2 participants