Skip to content

Commit d6f2bb1

Browse files
Merge pull request #151 from NeedleInAJayStack/ci/central
2 parents cedafbc + 60f3625 commit d6f2bb1

File tree

3 files changed

+20
-75
lines changed

3 files changed

+20
-75
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 69 deletions
This file was deleted.

.github/workflows/test.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: test
2+
on:
3+
push:
4+
branches: [ main ]
5+
pull_request:
6+
branches: [ main ]
7+
workflow_dispatch:
8+
jobs:
9+
lint:
10+
uses: graphqlswift/ci/.github/workflows/lint.yaml@main
11+
test:
12+
uses: graphqlswift/ci/.github/workflows/test.yaml@main
13+
with:
14+
include_android: false

Sources/Graphiti/Subscription/SubscribeField.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ public extension SubscriptionField {
450450
convenience init<ResolveType>(
451451
_ name: String,
452452
at function: @escaping SimpleAsyncResolve<SourceEventType, Context, Arguments, ResolveType>,
453-
as: FieldType.Type,
453+
as _: FieldType.Type,
454454
atSub subFunc: @escaping SimpleAsyncResolve<
455455
ObjectType,
456456
Context,
@@ -470,7 +470,7 @@ public extension SubscriptionField {
470470
convenience init<ResolveType>(
471471
_ name: String,
472472
at function: @escaping SimpleAsyncResolve<SourceEventType, Context, Arguments, ResolveType>,
473-
as: FieldType.Type,
473+
as _: FieldType.Type,
474474
atSub subFunc: @escaping SimpleAsyncResolve<
475475
ObjectType,
476476
Context,
@@ -568,7 +568,7 @@ public extension SubscriptionField {
568568
convenience init<ResolveType>(
569569
_ name: String,
570570
at function: @escaping SyncResolve<SourceEventType, Context, Arguments, ResolveType>,
571-
as: FieldType.Type,
571+
as _: FieldType.Type,
572572
atSub subFunc: @escaping SyncResolve<
573573
ObjectType,
574574
Context,
@@ -589,7 +589,7 @@ public extension SubscriptionField {
589589
convenience init<ResolveType>(
590590
_ name: String,
591591
at function: @escaping SyncResolve<SourceEventType, Context, Arguments, ResolveType>,
592-
as: FieldType.Type,
592+
as _: FieldType.Type,
593593
atSub subFunc: @escaping SyncResolve<
594594
ObjectType,
595595
Context,
@@ -780,7 +780,7 @@ public extension SubscriptionField {
780780
Arguments,
781781
ResolveType
782782
>,
783-
as: FieldType.Type,
783+
as _: FieldType.Type,
784784
atSub subFunc: @escaping ConcurrentResolve<
785785
ObjectType,
786786
Context,
@@ -806,7 +806,7 @@ public extension SubscriptionField {
806806
Arguments,
807807
ResolveType
808808
>,
809-
as: FieldType.Type,
809+
as _: FieldType.Type,
810810
atSub subFunc: @escaping ConcurrentResolve<
811811
ObjectType,
812812
Context,

0 commit comments

Comments
 (0)