Skip to content

Conversation

@eatyourpeas
Copy link
Member

Overview

Consumers of the digital growth charts API are finding that +/- 8 SDS errors are not intuitive and requested that the age of the child be included in the error response.

changes in this PR are to include the age of the child in the error message

Copy link
Member

@pacharanero pacharanero left a comment

Choose a reason for hiding this comment

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

Looks good to me.

(At some future point we might want to think about moving all the text in API responses into a single file in an i8n folder so that we can ready the system for responses in other languages eg Welsh being likely necessary soon for Redbook. I'll check whether we have an issue for this already)

@eatyourpeas eatyourpeas merged commit 917df79 into live May 18, 2025
4 checks passed
@eatyourpeas eatyourpeas deleted the more-context-to-measurement-out-of-bounds branch May 18, 2025 14:09
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.

3 participants