Skip to content

Fix: [AEA-0000] - Defines ValidationError to remove circular dependency#100

Merged
JackSpagnoliNHS merged 3 commits intomainfrom
AEA-0000-define-validation-error
Mar 24, 2026
Merged

Fix: [AEA-0000] - Defines ValidationError to remove circular dependency#100
JackSpagnoliNHS merged 3 commits intomainfrom
AEA-0000-define-validation-error

Conversation

@JackSpagnoliNHS
Copy link
Copy Markdown
Contributor

Summary

  • Routine Change

Details

Defines ValidationError to remove circular dependency when importing to spine

Copilot AI review requested due to automatic review settings March 20, 2026 10:51
@github-actions
Copy link
Copy Markdown
Contributor

This PR is linked to a ticket in an NHS Digital JIRA Project. Here's a handy link to the ticket:

AEA-0000

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Defines a local ValidationError in eps_spine_shared to eliminate a circular dependency caused by importing Spine’s validation error type when this package is used within Spine.

Changes:

  • Removed import of spinecore.prescriptions.common.local_validator.ValidationError.
  • Added a locally defined ValidationError exception for use by Spine wrappers.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@sonarqubecloud
Copy link
Copy Markdown

@JackSpagnoliNHS JackSpagnoliNHS merged commit 398084a into main Mar 24, 2026
12 checks passed
@JackSpagnoliNHS JackSpagnoliNHS deleted the AEA-0000-define-validation-error branch March 24, 2026 10:56
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