Skip to content

Conversation

@Roshankumar350
Copy link
Contributor

Summary

This Pull Request addresses a dependency incompatibility issue and improves codebase quality by performing a general cleanup of module imports.

1. Code Cleanup: Removing Redundant Imports

Redundant import Foundation statements have been removed from several files across the codebase where the module was not strictly required (i.e., the files only use types and functionality available in the Swift Standard Library).

Rationale:
This practice adheres to Swift style guides, helps clarify module dependencies, and promotes a cleaner codebase.

Verification

The project successfully builds, and all existing unit and integration tests have been run and passed after applying these changes.

@CLAassistant
Copy link

CLAassistant commented Nov 24, 2025

CLA assistant check
All committers have signed the CLA.

//

import Foundation
import Foundation.NSFileManager
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is overdone, please revert it (including other similar parts)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Reverted.

Copy link
Collaborator

@sidepelican sidepelican left a comment

Choose a reason for hiding this comment

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

Thank you for your contribution.

@sidepelican sidepelican changed the title Refactor: Remove unnecessary Foundation imports and imported only relevant module rathar than entire framework Refactor: Remove unnecessary Foundation imports Nov 25, 2025
@sidepelican sidepelican merged commit 93cd79e into uber:master Nov 25, 2025
8 checks passed
@Roshankumar350 Roshankumar350 deleted the frameworkImport branch November 25, 2025 05:20
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