Skip to content

Commit

Permalink
Added Existential Any requirement (#379)
Browse files Browse the repository at this point in the history
  • Loading branch information
AnthonyMDev authored and gh-action-runner committed Jun 6, 2024
1 parent b39f122 commit 94be720
Show file tree
Hide file tree
Showing 286 changed files with 1,440 additions and 1,110 deletions.
9 changes: 9 additions & 0 deletions .package.resolved
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
{
"pins" : [
{
"identity" : "apollo-ios",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apollographql/apollo-ios.git",
"state" : {
"revision" : "99dfbdb869dbba16bd09e086b2b669bfcab811ec",
"version" : "1.12.2"
}
},
{
"identity" : "cwlcatchexception",
"kind" : "remoteSourceControl",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public struct ClassroomPetDetails: AnimalKingdomAPI.SelectionSet, Fragment {
public let __data: DataDict
public init(_dataDict: DataDict) { __data = _dataDict }

public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Unions.ClassroomPet }
public static var __parentType: any ApolloAPI.ParentType { AnimalKingdomAPI.Unions.ClassroomPet }
public static var __selections: [ApolloAPI.Selection] { [
.field("__typename", String.self),
.inlineFragment(AsAnimal.self),
Expand Down Expand Up @@ -50,7 +50,7 @@ public struct ClassroomPetDetails: AnimalKingdomAPI.SelectionSet, Fragment {
public init(_dataDict: DataDict) { __data = _dataDict }

public typealias RootEntityType = ClassroomPetDetails
public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Interfaces.Animal }
public static var __parentType: any ApolloAPI.ParentType { AnimalKingdomAPI.Interfaces.Animal }
public static var __selections: [ApolloAPI.Selection] { [
.field("species", String.self),
] }
Expand Down Expand Up @@ -82,7 +82,7 @@ public struct ClassroomPetDetails: AnimalKingdomAPI.SelectionSet, Fragment {
public init(_dataDict: DataDict) { __data = _dataDict }

public typealias RootEntityType = ClassroomPetDetails
public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Interfaces.Pet }
public static var __parentType: any ApolloAPI.ParentType { AnimalKingdomAPI.Interfaces.Pet }
public static var __selections: [ApolloAPI.Selection] { [
.field("humanName", String?.self),
] }
Expand Down Expand Up @@ -114,7 +114,7 @@ public struct ClassroomPetDetails: AnimalKingdomAPI.SelectionSet, Fragment {
public init(_dataDict: DataDict) { __data = _dataDict }

public typealias RootEntityType = ClassroomPetDetails
public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Interfaces.WarmBlooded }
public static var __parentType: any ApolloAPI.ParentType { AnimalKingdomAPI.Interfaces.WarmBlooded }
public static var __selections: [ApolloAPI.Selection] { [
.field("laysEggs", Bool.self),
] }
Expand Down Expand Up @@ -150,7 +150,7 @@ public struct ClassroomPetDetails: AnimalKingdomAPI.SelectionSet, Fragment {
public init(_dataDict: DataDict) { __data = _dataDict }

public typealias RootEntityType = ClassroomPetDetails
public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Cat }
public static var __parentType: any ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Cat }
public static var __selections: [ApolloAPI.Selection] { [
.field("bodyTemperature", Int.self),
.field("isJellicle", Bool.self),
Expand Down Expand Up @@ -197,7 +197,7 @@ public struct ClassroomPetDetails: AnimalKingdomAPI.SelectionSet, Fragment {
public init(_dataDict: DataDict) { __data = _dataDict }

public typealias RootEntityType = ClassroomPetDetails
public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Bird }
public static var __parentType: any ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Bird }
public static var __selections: [ApolloAPI.Selection] { [
.field("wingspan", Double.self),
] }
Expand Down Expand Up @@ -240,7 +240,7 @@ public struct ClassroomPetDetails: AnimalKingdomAPI.SelectionSet, Fragment {
public init(_dataDict: DataDict) { __data = _dataDict }

public typealias RootEntityType = ClassroomPetDetails
public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Objects.PetRock }
public static var __parentType: any ApolloAPI.ParentType { AnimalKingdomAPI.Objects.PetRock }
public static var __selections: [ApolloAPI.Selection] { [
.field("favoriteToy", String.self),
] }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public struct CrocodileFragment: AnimalKingdomAPI.SelectionSet, Fragment {
public let __data: DataDict
public init(_dataDict: DataDict) { __data = _dataDict }

public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Crocodile }
public static var __parentType: any ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Crocodile }
public static var __selections: [ApolloAPI.Selection] { [
.field("__typename", String.self),
.field("species", String.self),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public struct DogFragment: AnimalKingdomAPI.SelectionSet, Fragment {
public let __data: DataDict
public init(_dataDict: DataDict) { __data = _dataDict }

public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Dog }
public static var __parentType: any ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Dog }
public static var __selections: [ApolloAPI.Selection] { [
.field("__typename", String.self),
.field("species", String.self),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public struct HeightInMeters: AnimalKingdomAPI.SelectionSet, Fragment {
public let __data: DataDict
public init(_dataDict: DataDict) { __data = _dataDict }

public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Interfaces.Animal }
public static var __parentType: any ApolloAPI.ParentType { AnimalKingdomAPI.Interfaces.Animal }
public static var __selections: [ApolloAPI.Selection] { [
.field("__typename", String.self),
.field("height", Height.self),
Expand Down Expand Up @@ -41,7 +41,7 @@ public struct HeightInMeters: AnimalKingdomAPI.SelectionSet, Fragment {
public let __data: DataDict
public init(_dataDict: DataDict) { __data = _dataDict }

public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Height }
public static var __parentType: any ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Height }
public static var __selections: [ApolloAPI.Selection] { [
.field("__typename", String.self),
.field("meters", Int.self),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public struct PetDetails: AnimalKingdomAPI.SelectionSet, Fragment {
public let __data: DataDict
public init(_dataDict: DataDict) { __data = _dataDict }

public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Interfaces.Pet }
public static var __parentType: any ApolloAPI.ParentType { AnimalKingdomAPI.Interfaces.Pet }
public static var __selections: [ApolloAPI.Selection] { [
.field("__typename", String.self),
.field("humanName", String?.self),
Expand Down Expand Up @@ -49,7 +49,7 @@ public struct PetDetails: AnimalKingdomAPI.SelectionSet, Fragment {
public let __data: DataDict
public init(_dataDict: DataDict) { __data = _dataDict }

public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Human }
public static var __parentType: any ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Human }
public static var __selections: [ApolloAPI.Selection] { [
.field("__typename", String.self),
.field("firstName", String.self),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public struct WarmBloodedDetails: AnimalKingdomAPI.SelectionSet, Fragment {
public let __data: DataDict
public init(_dataDict: DataDict) { __data = _dataDict }

public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Interfaces.WarmBlooded }
public static var __parentType: any ApolloAPI.ParentType { AnimalKingdomAPI.Interfaces.WarmBlooded }
public static var __selections: [ApolloAPI.Selection] { [
.field("__typename", String.self),
.field("bodyTemperature", Int.self),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public class AllAnimalsLocalCacheMutation: LocalCacheMutation {
public var __data: DataDict
public init(_dataDict: DataDict) { __data = _dataDict }

public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Query }
public static var __parentType: any ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Query }
public static var __selections: [ApolloAPI.Selection] { [
.field("allAnimals", [AllAnimal].self),
] }
Expand Down Expand Up @@ -43,7 +43,7 @@ public class AllAnimalsLocalCacheMutation: LocalCacheMutation {
public var __data: DataDict
public init(_dataDict: DataDict) { __data = _dataDict }

public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Interfaces.Animal }
public static var __parentType: any ApolloAPI.ParentType { AnimalKingdomAPI.Interfaces.Animal }
public static var __selections: [ApolloAPI.Selection] { [
.field("__typename", String.self),
.field("species", String.self),
Expand Down Expand Up @@ -90,7 +90,7 @@ public class AllAnimalsLocalCacheMutation: LocalCacheMutation {
public init(_dataDict: DataDict) { __data = _dataDict }

public typealias RootEntityType = AllAnimalsLocalCacheMutation.Data.AllAnimal
public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Bird }
public static var __parentType: any ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Bird }
public static var __selections: [ApolloAPI.Selection] { [
.field("wingspan", Double.self),
] }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public struct PetDetailsMutation: AnimalKingdomAPI.MutableSelectionSet, Fragment
public var __data: DataDict
public init(_dataDict: DataDict) { __data = _dataDict }

public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Interfaces.Pet }
public static var __parentType: any ApolloAPI.ParentType { AnimalKingdomAPI.Interfaces.Pet }
public static var __selections: [ApolloAPI.Selection] { [
.field("__typename", String.self),
.field("owner", Owner?.self),
Expand Down Expand Up @@ -44,7 +44,7 @@ public struct PetDetailsMutation: AnimalKingdomAPI.MutableSelectionSet, Fragment
public var __data: DataDict
public init(_dataDict: DataDict) { __data = _dataDict }

public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Human }
public static var __parentType: any ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Human }
public static var __selections: [ApolloAPI.Selection] { [
.field("__typename", String.self),
.field("firstName", String.self),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class PetSearchLocalCacheMutation: LocalCacheMutation {
public var __data: DataDict
public init(_dataDict: DataDict) { __data = _dataDict }

public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Query }
public static var __parentType: any ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Query }
public static var __selections: [ApolloAPI.Selection] { [
.field("pets", [Pet].self, arguments: ["filters": .variable("filters")]),
] }
Expand Down Expand Up @@ -60,7 +60,7 @@ public class PetSearchLocalCacheMutation: LocalCacheMutation {
public var __data: DataDict
public init(_dataDict: DataDict) { __data = _dataDict }

public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Interfaces.Pet }
public static var __parentType: any ApolloAPI.ParentType { AnimalKingdomAPI.Interfaces.Pet }
public static var __selections: [ApolloAPI.Selection] { [
.field("__typename", String.self),
.field("id", AnimalKingdomAPI.ID.self),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class PetAdoptionMutation: GraphQLMutation {
public let __data: DataDict
public init(_dataDict: DataDict) { __data = _dataDict }

public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Mutation }
public static var __parentType: any ApolloAPI.ParentType { AnimalKingdomAPI.Objects.Mutation }
public static var __selections: [ApolloAPI.Selection] { [
.field("adoptPet", AdoptPet.self, arguments: ["input": .variable("input")]),
] }
Expand Down Expand Up @@ -50,7 +50,7 @@ public class PetAdoptionMutation: GraphQLMutation {
public let __data: DataDict
public init(_dataDict: DataDict) { __data = _dataDict }

public static var __parentType: ApolloAPI.ParentType { AnimalKingdomAPI.Interfaces.Pet }
public static var __parentType: any ApolloAPI.ParentType { AnimalKingdomAPI.Interfaces.Pet }
public static var __selections: [ApolloAPI.Selection] { [
.field("__typename", String.self),
.field("id", AnimalKingdomAPI.ID.self),
Expand Down
Loading

0 comments on commit 94be720

Please sign in to comment.