Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 17 additions & 17 deletions .github/workflows/build-on-minimum-supported-platform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,33 +21,33 @@ jobs:
build-on-minimum-supported-platforms:
name: ${{ matrix.os }}
strategy:
fail-fast: true
fail-fast: false
matrix:
include:
- scheme: AWSAppSyncApolloExtensions
os: iOS # Swift 5.9 (Xcode 15.0), iOS v13
sdk: iphonesimulator17.0
destination: platform=iOS Simulator,name=iPhone 14,OS=17.0
runner: macos-13
app: Xcode_15.0.1
sdk: iphonesimulator
destination: platform=iOS Simulator,name=iPhone 16 Pro Max,OS=18.5
runner: macos-15
app: Xcode_16.4.0
- scheme: AWSAppSyncApolloExtensions
os: macOS # Swift 5.9 (Xcode 15.0), macOS v10_15
sdk: macosx14.0
destination: platform=OS X,arch=x86_64
runner: macos-13
app: Xcode_15.0.1
sdk: macosx
destination: platform=macOS,arch=arm64
runner: macos-15
app: Xcode_16.4.0
- scheme: AWSAppSyncApolloExtensions
os: watchOS # Swift 5.9 (Xcode 15.0), watchOS v9
sdk: watchsimulator10.0
destination: platform=watchOS Simulator,name=Apple Watch Series 8 (45mm),OS=10.0
runner: macos-13
app: Xcode_15.0.1
sdk: watchsimulator
destination: platform=watchOS Simulator,name=Apple Watch Series 10 (46mm),OS=11.5
runner: macos-15
app: Xcode_16.4.0
- scheme: AWSAppSyncApolloExtensions
os: tvOS # Swift 5.9 (Xcode 15.0), tvOS v13
sdk: appletvsimulator17.0
destination: platform=tvOS Simulator,name=Apple TV 4K (3rd generation),OS=17.0
runner: macos-13
app: Xcode_15.0.1
sdk: appletvsimulator
destination: platform=tvOS Simulator,name=Apple TV 4K (3rd generation),OS=18.5
runner: macos-15
app: Xcode_16.4.0

runs-on: ${{ matrix.runner }}
steps:
Expand Down
11 changes: 11 additions & 0 deletions Tests/IntegrationTestApp/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
.DS_Store
/.build
build/

# amplify
node_modules
.amplify
amplify_outputs*
amplifyconfiguration*

AppSyncAPI/.build
14 changes: 14 additions & 0 deletions Tests/IntegrationTestApp/AppSyncAPI/Package.resolved

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ public class CreateTodoMutation: GraphQLMutation {
public static var __selections: [ApolloAPI.Selection] { [
.field("createTodo", CreateTodo?.self, arguments: ["input": .variable("createTodoInput")]),
] }
public static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
CreateTodoMutation.Data.self
] }

public var createTodo: CreateTodo? { __data["createTodo"] }

Expand All @@ -45,6 +48,9 @@ public class CreateTodoMutation: GraphQLMutation {
.field("content", String?.self),
.field("owner", String?.self),
] }
public static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
CreateTodoMutation.Data.CreateTodo.self
] }

public var id: AppSyncAPI.ID { __data["id"] }
public var updatedAt: AppSyncAPI.AWSDateTime { __data["updatedAt"] }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ public class UpdateTodoMutation: GraphQLMutation {
public static var __selections: [ApolloAPI.Selection] { [
.field("updateTodo", UpdateTodo?.self, arguments: ["input": .variable("updateTodoInput")]),
] }
public static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
UpdateTodoMutation.Data.self
] }

public var updateTodo: UpdateTodo? { __data["updateTodo"] }

Expand All @@ -45,6 +48,9 @@ public class UpdateTodoMutation: GraphQLMutation {
.field("content", String?.self),
.field("owner", String?.self),
] }
public static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
UpdateTodoMutation.Data.UpdateTodo.self
] }

public var id: AppSyncAPI.ID { __data["id"] }
public var updatedAt: AppSyncAPI.AWSDateTime { __data["updatedAt"] }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ public class MyQuery: GraphQLQuery {
public static var __selections: [ApolloAPI.Selection] { [
.field("listTodos", ListTodos?.self),
] }
public static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
MyQuery.Data.self
] }

public var listTodos: ListTodos? { __data["listTodos"] }

Expand All @@ -36,6 +39,9 @@ public class MyQuery: GraphQLQuery {
.field("items", [Item?].self),
.field("nextToken", String?.self),
] }
public static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
MyQuery.Data.ListTodos.self
] }

public var items: [Item?] { __data["items"] }
public var nextToken: String? { __data["nextToken"] }
Expand All @@ -56,6 +62,9 @@ public class MyQuery: GraphQLQuery {
.field("content", String?.self),
.field("owner", String?.self),
] }
public static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
MyQuery.Data.ListTodos.Item.self
] }

public var id: AppSyncAPI.ID { __data["id"] }
public var updatedAt: AppSyncAPI.AWSDateTime { __data["updatedAt"] }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ public class OnCreateSubscription: GraphQLSubscription {
public static var __selections: [ApolloAPI.Selection] { [
.field("onCreateTodo", OnCreateTodo?.self),
] }
public static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
OnCreateSubscription.Data.self
] }

public var onCreateTodo: OnCreateTodo? { __data["onCreateTodo"] }

Expand All @@ -39,6 +42,9 @@ public class OnCreateSubscription: GraphQLSubscription {
.field("content", String?.self),
.field("owner", String?.self),
] }
public static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
OnCreateSubscription.Data.OnCreateTodo.self
] }

public var id: AppSyncAPI.ID { __data["id"] }
public var updatedAt: AppSyncAPI.AWSDateTime { __data["updatedAt"] }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let ModelTodoConnection = ApolloAPI.Object(
typename: "ModelTodoConnection",
implementedInterfaces: []
implementedInterfaces: [],
keyFields: nil
)
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let Mutation = ApolloAPI.Object(
typename: "Mutation",
implementedInterfaces: []
implementedInterfaces: [],
keyFields: nil
)
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let Query = ApolloAPI.Object(
typename: "Query",
implementedInterfaces: []
implementedInterfaces: [],
keyFields: nil
)
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let Subscription = ApolloAPI.Object(
typename: "Subscription",
implementedInterfaces: []
implementedInterfaces: [],
keyFields: nil
)
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import ApolloAPI
public extension Objects {
static let Todo = ApolloAPI.Object(
typename: "Todo",
implementedInterfaces: []
implementedInterfaces: [],
keyFields: nil
)
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ public enum SchemaMetadata: ApolloAPI.SchemaMetadata {

public static func objectType(forTypename typename: String) -> ApolloAPI.Object? {
switch typename {
case "ModelTodoConnection": return AppSyncAPI.Objects.ModelTodoConnection
case "Mutation": return AppSyncAPI.Objects.Mutation
case "Todo": return AppSyncAPI.Objects.Todo
case "Subscription": return AppSyncAPI.Objects.Subscription
case "Query": return AppSyncAPI.Objects.Query
case "ModelTodoConnection": return AppSyncAPI.Objects.ModelTodoConnection
case "Subscription": return AppSyncAPI.Objects.Subscription
case "Todo": return AppSyncAPI.Objects.Todo
default: return nil
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -580,15 +580,15 @@
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/aws-amplify/amplify-swift.git";
requirement = {
kind = upToNextMajorVersion;
minimumVersion = 2.51.1;
kind = upToNextMinorVersion;
minimumVersion = 2.53.2;
};
};
218CFDFB2C5AD4BB009D70B9 /* XCRemoteSwiftPackageReference "amplify-ui-swift-authenticator" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/aws-amplify/amplify-ui-swift-authenticator";
requirement = {
kind = upToNextMajorVersion;
kind = upToNextMinorVersion;
minimumVersion = 1.2.3;
};
};
Expand Down
Loading
Loading