Skip to content

Conversation

Sky-FE
Copy link
Contributor

@Sky-FE Sky-FE commented Oct 16, 2025

No description provided.

@Sky-FE Sky-FE requested a review from Copilot October 16, 2025 03:32
Copy link
Contributor

@Copilot 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

This PR fixes an error that occurred when restoring fields from the table trash by adding proper record validation. The fix ensures that only existing records are updated during field restoration operations.

  • Adds RecordService dependency to check for existing records before restoration
  • Filters out non-existent records to prevent update errors during field restoration

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
trash.service.ts Adds record existence validation logic and RecordService dependency
trash.module.ts Imports RecordModule to make RecordService available for dependency injection

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@Sky-FE Sky-FE merged commit db64493 into develop Oct 16, 2025
11 of 12 checks passed
@Sky-FE Sky-FE deleted the fix/trash-restore branch October 16, 2025 10:03
Copy link

🧹 Preview Environment Cleanup

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.

1 participant