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

Fixes missing commas in JSON APIs #3335

Merged
merged 1 commit into from
Aug 2, 2023

Conversation

misaugstad
Copy link
Member

Resolves #3334

Fixes an issue where a comma was being missed every 10k labels in the /v2/access/attributes, /v2/access/attributesWithLabels, and /adminapi/labels/cvMetadata APIs. In #3276 I switched us to adding 10k labels at a time to a JSON file to prevent the server from running out of heap space, but I forgot to include a comma between every 10k 🤦

Testing instructions

I tested on a database that had 35k labels on my local dev env and tried each of the three API endpoints. I used this site to validate the JSON.

@misaugstad misaugstad self-assigned this Aug 2, 2023
@misaugstad misaugstad merged commit 7840031 into develop Aug 2, 2023
@misaugstad misaugstad deleted the 3334-fix-missing-commas-in-api branch August 2, 2023 19:34
@misaugstad misaugstad mentioned this pull request Aug 15, 2023
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.

Some JSON APIs can be missing the occasional comma
1 participant