You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/apollo-codegen-swift/src/__tests__/__snapshots__/codeGeneration.ts.snap
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -916,7 +916,7 @@ exports[`Swift code generation #initializerDeclarationForProperties() should gen
916
916
exports[`Swift code generation #structDeclarationForFragment() should generate a struct declaration for a fragment that includes a fragment spread 1`] = `
917
917
"public struct HeroDetails: GraphQLFragment {
918
918
/// The raw GraphQL definition of this fragment.
919
-
public static let fragmentDefinition =
919
+
public static let fragmentDefinition: String =
920
920
\\"\\"\\"
921
921
fragment HeroDetails on Character {
922
922
name
@@ -996,7 +996,7 @@ exports[`Swift code generation #structDeclarationForFragment() should generate a
996
996
exports[`Swift code generation #structDeclarationForFragment() should generate a struct declaration for a fragment with a concrete type condition 1`] = `
997
997
"public struct DroidDetails: GraphQLFragment {
998
998
/// The raw GraphQL definition of this fragment.
999
-
public static let fragmentDefinition =
999
+
public static let fragmentDefinition: String =
1000
1000
\\"\\"\\"
1001
1001
fragment DroidDetails on Droid {
1002
1002
name
@@ -1046,7 +1046,7 @@ exports[`Swift code generation #structDeclarationForFragment() should generate a
1046
1046
exports[`Swift code generation #structDeclarationForFragment() should generate a struct declaration for a fragment with a subselection 1`] = `
1047
1047
"public struct HeroDetails: GraphQLFragment {
1048
1048
/// The raw GraphQL definition of this fragment.
1049
-
public static let fragmentDefinition =
1049
+
public static let fragmentDefinition: String =
1050
1050
\\"\\"\\"
1051
1051
fragment HeroDetails on Character {
1052
1052
name
@@ -1134,7 +1134,7 @@ exports[`Swift code generation #structDeclarationForFragment() should generate a
1134
1134
exports[`Swift code generation #structDeclarationForFragment() should generate a struct declaration for a fragment with an abstract type condition 1`] = `
0 commit comments