Skip to content

Conversation

@malwilley
Copy link
Member

I missed this in #103549

I was using the default serializer, which outputs camelcased keys. However, the occurrence evidence data uses snake case by convention. Using camelcased keys also has a problem where our event detail endpoint will run a camel-case converter again, which does things like snubaQuery -> snubaquery and then the frontend can't reuse those types.

So this runs the serialized data source through a casing converter to ensure it's snake case.

@malwilley malwilley requested review from a team as code owners November 21, 2025 21:28
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Nov 21, 2025
@malwilley malwilley merged commit e7be5cb into master Nov 24, 2025
67 checks passed
@malwilley malwilley deleted the malwilley/fix/snake-casing-for-data-sources-in-evidence-data branch November 24, 2025 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants