-
Notifications
You must be signed in to change notification settings - Fork 60
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
tests: Add merged selection deferred test case #153
tests: Add merged selection deferred test case #153
Conversation
@@ -63,7 +63,7 @@ extension GraphQLResult { | |||
|
|||
private func convert(value: Any) -> Any { | |||
var val: Any = value | |||
if let value = value as? ApolloAPI.DataDict { | |||
if let value = value as? DataDict { |
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.
@BobaFetters I had to make this change to get the cocoapods codegen test configuration project to pass. The change makes sense but how have other PRs been building, including the one that included this change originally?
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.
It's because the Codegen Test Configurations job was skipped in that PR. We'll need to revise the logic that turns that on/off.
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 looks right to me. The deferred selection should be a mergedSelection
there. It's being merged in from the parent selection set.
@AnthonyMDev here's the test case we spoke about today. It passes but I'm not sure if it's correct; it's throwing me off that the deferred fragment is a merged selection on line 6778.