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: kmp/data-runtime-cloud/src/commonMain/graphql/io/github/reactivecircus/kstreamlined/graphql/schema.graphqls
+319-1Lines changed: 319 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -418,7 +418,7 @@ type Query {
418
418
"""
419
419
feedSources: [FeedSource!]!
420
420
421
-
_service: _Service
421
+
_service: _Service!
422
422
}
423
423
424
424
typeTalkingKotlinimplementsFeedEntry {
@@ -459,6 +459,324 @@ type _Service {
459
459
sdl: String!
460
460
}
461
461
462
+
# See https://github.com/JetBrains/js-graphql-intellij-plugin/issues/665
463
+
# noinspection GraphQLTypeRedefinition
464
+
type__Directive {
465
+
"""
466
+
The __Directive type represents a Directive that a server supports.
# See https://github.com/JetBrains/js-graphql-intellij-plugin/issues/665
610
+
# noinspection GraphQLTypeRedefinition
611
+
type__InputValue {
612
+
name: String!
613
+
614
+
description: String
615
+
616
+
type: __Type!
617
+
618
+
defaultValue: String
619
+
620
+
isDeprecated: Boolean
621
+
622
+
deprecationReason: String
623
+
}
624
+
625
+
# See https://github.com/JetBrains/js-graphql-intellij-plugin/issues/665
626
+
# noinspection GraphQLTypeRedefinition
627
+
"""
628
+
A GraphQL Introspection defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, the entry points for query, mutation, and subscription operations.
629
+
"""
630
+
type__Schema {
631
+
description: String
632
+
633
+
"""
634
+
A list of all types supported by this server.
635
+
"""
636
+
types: [__Type!]!
637
+
638
+
"""
639
+
The type that query operations will be rooted at.
640
+
"""
641
+
queryType: __Type!
642
+
643
+
"""
644
+
If this server supports mutation, the type that mutation operations will be rooted at.
645
+
"""
646
+
mutationType: __Type
647
+
648
+
"""
649
+
'A list of all directives supported by this server.
650
+
"""
651
+
directives: [__Directive!]!
652
+
653
+
"""
654
+
'If this server support subscription, the type that subscription operations will be rooted at.
655
+
"""
656
+
subscriptionType: __Type
657
+
}
658
+
659
+
# See https://github.com/JetBrains/js-graphql-intellij-plugin/issues/665
# See https://github.com/JetBrains/js-graphql-intellij-plugin/issues/665
762
+
# noinspection GraphQLTypeRedefinition
763
+
"""
764
+
Marks the field, argument, input field or enum value as deprecated
765
+
"""
766
+
directive@deprecated ("The reason for the deprecation"reason: String = "No longer supported") onFIELD_DEFINITION|ARGUMENT_DEFINITION|ENUM_VALUE|INPUT_FIELD_DEFINITION
767
+
768
+
# See https://github.com/JetBrains/js-graphql-intellij-plugin/issues/665
769
+
# noinspection GraphQLTypeRedefinition
770
+
"""
771
+
Exposes a URL that specifies the behaviour of this scalar.
772
+
"""
773
+
directive@specifiedBy ("The URL that specifies the behaviour of this scalar."url: String!) onSCALAR
774
+
775
+
"""
776
+
Indicates an Input Object is a OneOf Input Object.
Copy file name to clipboardExpand all lines: kmp/data-runtime-cloud/src/commonMain/kotlin/io/github/reactivecircus/kstreamlined/kmp/data/feed/CloudFeedRepo.kt
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ class CloudFeedRepo(private val apolloClient: ApolloClient) : FeedRepo {
18
18
apolloClient.query(FeedSourcesQuery())
19
19
.defaultFetchPolicy(refresh)
20
20
.execute()
21
-
.dataAssertNoErrors.feedSources
21
+
.dataOrThrow().feedSources
22
22
}.onFailure {
23
23
Logger.w("Query failed", it)
24
24
}.getOrThrow().map { it.toModel() }
@@ -36,7 +36,7 @@ class CloudFeedRepo(private val apolloClient: ApolloClient) : FeedRepo {
0 commit comments