-
Notifications
You must be signed in to change notification settings - Fork 734
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
Swift Package Manager 5.3 compatibility #1584
Conversation
…hing isn't a swift file
(caused API.json for swift codegen to regen with updated file paths)
guard fileURL.apollo.isSwiftFileURL else { | ||
throw CodegenError.singleFileButNotSwiftFileURL(fileURL) | ||
} | ||
} // else we're fine with JSON at this point for intermediate purposes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Once default codegen becomes swift codegen, this will fail the tests that check that a folder URL can't be passed in here.
@@ -1,10 +0,0 @@ | |||
{ | |||
"63e25c339275a65f43b847e692e42caed8c06e25fbfb3dc8db6d4897b180c9ef": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was deleted because we switched to "operationIDs.json"
May the ghost of Steve Jobs have mercy on us all. |
In this PR:
Package@swift-5.2.swift
to preserve backwards compatibilityStarWarsAPI
,GitHubAPI
, andUploadAPI
into excludedgraphql
folders