Skip to content

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

Open
JackSpagnoliNHS wants to merge 2 commits intomainfrom
AEA-0000-define-validation-error
Open

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

Conversation

@JackSpagnoliNHS
Copy link
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
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

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

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.

2 participants