Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up small cross-dependency between KsApiTests and Library #1929

Merged
merged 2 commits into from Feb 5, 2024

Conversation

amy-at-kickstarter
Copy link
Contributor

📲 What

  • Remove an unnecessary dependency - GraphSchemaTests is part of KsApiTests and should have no knowledge of Library
  • Move ReportProjectInfoListItem.swift that was no longer part of KsApi into Library, where it was already a target member

🤔 Why

I discovered these two tiny issues while doing other investigation. I don't believe this PR actually solves any of the linker issues, but I think it's good discipline to keep these distinctions neater.

@@ -1497,7 +1497,6 @@
E1AA8ABF2AEABBB100AC98BF /* Signal+Combine.swift in Sources */ = {isa = PBXBuildFile; fileRef = E1EA34EE2AE1B28400942A04 /* Signal+Combine.swift */; };
E1BB25642B1E81AA000BD2D6 /* Publisher+Service.swift in Sources */ = {isa = PBXBuildFile; fileRef = E1BB25632B1E81AA000BD2D6 /* Publisher+Service.swift */; };
E1EEED292B684AA7009976D9 /* PKCE.swift in Sources */ = {isa = PBXBuildFile; fileRef = E1EEED282B684AA7009976D9 /* PKCE.swift */; };
E1FDB1E82AEAAC6100285F93 /* CombineTestObserver.swift in Sources */ = {isa = PBXBuildFile; fileRef = E1FDB1E72AEAAC6100285F93 /* CombineTestObserver.swift */; };
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Xcode did this automatically; unclear why, but nothing has changed with this file. 🤷‍♀️ I've seen this happen on occasion, I think it just cleans up dead references.

@@ -6670,7 +6670,6 @@
D01587E41EEB2ED7006E7684 /* RewardsItem.swift */,
D01587E51EEB2ED7006E7684 /* RewardsItemTests.swift */,
D01587E61EEB2ED7006E7684 /* RewardTests.swift */,
60AE9F022ABB822300FB3A96 /* ReportProjectInfoListItem.swift */,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This has already been moved to Library; I'm just moving the file to reflect that since it was still under KsApi.

@amy-at-kickstarter amy-at-kickstarter changed the title Clean up small circular dependency between KsApiTests and Clean up small cross-dependency between KsApiTests and Library Feb 1, 2024
@amy-at-kickstarter amy-at-kickstarter force-pushed the feat/adyer/cleanup-circular-dependency branch from 81670f3 to 056ae7b Compare February 5, 2024 15:26
@amy-at-kickstarter amy-at-kickstarter merged commit 32cccc3 into main Feb 5, 2024
5 checks passed
@amy-at-kickstarter amy-at-kickstarter deleted the feat/adyer/cleanup-circular-dependency branch February 5, 2024 15:50
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.

None yet

2 participants