Skip to content

CCM-14770: personalised render API#868

Open
alexnuttall wants to merge 416 commits intomainfrom
feature/14770-personalised-render
Open

CCM-14770: personalised render API#868
alexnuttall wants to merge 416 commits intomainfrom
feature/14770-personalised-render

Conversation

@alexnuttall
Copy link
Contributor

Description

Context

Type of changes

  • Refactoring (non-breaking change)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would change existing functionality)
  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • I am familiar with the contributing guidelines
  • I have followed the code style of the project
  • I have added tests to cover my changes
  • I have updated the documentation accordingly
  • This PR is a result of pair or mob programming
  • If I have used the 'skip-trivy-package' label I have done so responsibly and in the knowledge that this is being fixed as part of a separate ticket/PR.

Sensitive Information Declaration

To ensure the utmost confidentiality and protect your and others privacy, we kindly ask you to NOT including PII (Personal Identifiable Information) / PID (Personal Identifiable Data) or any other sensitive data in this PR (Pull Request) and the codebase changes. We will remove any PR that do contain any sensitive information. We really appreciate your cooperation in this matter.

  • I confirm that neither PII/PID nor sensitive data are included in this PR and the codebase changes.

@alexnuttall alexnuttall reopened this Mar 4, 2026

const lockNumberValidation = $LockNumber.safeParse(lockNumberRaw);

if (!lockNumberValidation.success) {
Copy link
Contributor

Choose a reason for hiding this comment

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

why do we need to pre-validate the lock number separately? the dynamodb call is already checking it's the right value

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm not sure why this pattern was established - I guess because of unwillingness to return a 409 if lock number is completely invalid. I think that would be preferable though

Base automatically changed from feature/13492-initial-spinner to main March 10, 2026 15:18
@alexnuttall alexnuttall dismissed chris-elliott-nhsd’s stale review March 10, 2026 15:18

The base branch was changed.

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