-
Notifications
You must be signed in to change notification settings - Fork 677
Remove apollo-execution #5978
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove apollo-execution #5978
Conversation
✅ Deploy Preview for apollo-android-docs canceled.
|
open annotation class com.apollographql.apollo3.annotations/GraphQLAdapter : kotlin/Annotation { // com.apollographql.apollo3.annotations/GraphQLAdapter|null[0] | ||
constructor <init>(kotlin/String) // com.apollographql.apollo3.annotations/GraphQLAdapter.<init>|<init>(kotlin.String){}[0] | ||
final val forScalar // com.apollographql.apollo3.annotations/GraphQLAdapter.forScalar|{}forScalar[0] | ||
final fun <get-forScalar>(): kotlin/String // com.apollographql.apollo3.annotations/GraphQLAdapter.forScalar.<get-forScalar>|<get-forScalar>(){}[0] | ||
} | ||
open annotation class com.apollographql.apollo3.annotations/GraphQLName : kotlin/Annotation { // com.apollographql.apollo3.annotations/GraphQLName|null[0] | ||
constructor <init>(kotlin/String) // com.apollographql.apollo3.annotations/GraphQLName.<init>|<init>(kotlin.String){}[0] | ||
final val name // com.apollographql.apollo3.annotations/GraphQLName.name|{}name[0] | ||
final fun <get-name>(): kotlin/String // com.apollographql.apollo3.annotations/GraphQLName.name.<get-name>|<get-name>(){}[0] | ||
} | ||
open annotation class com.apollographql.apollo3.annotations/GraphQLObject : kotlin/Annotation { // com.apollographql.apollo3.annotations/GraphQLObject|null[0] | ||
constructor <init>(kotlin/String = ...) // com.apollographql.apollo3.annotations/GraphQLObject.<init>|<init>(kotlin.String){}[0] | ||
final val name // com.apollographql.apollo3.annotations/GraphQLObject.name|{}name[0] | ||
final fun <get-name>(): kotlin/String // com.apollographql.apollo3.annotations/GraphQLObject.name.<get-name>|<get-name>(){}[0] | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Those annotations have moved as well
schema { | ||
query: Query | ||
} | ||
|
||
scalar Fields | ||
|
||
""" | ||
The root query | ||
""" | ||
type Query { | ||
apolloClients: [ApolloClient!]! | ||
|
||
""" | ||
Returns null if an ApolloClient with the given id is not found. | ||
""" | ||
apolloClient(id: ID!): ApolloClient | ||
} | ||
|
||
type ApolloClient { | ||
id: ID! | ||
|
||
displayName: String! | ||
|
||
normalizedCaches: [NormalizedCache!]! | ||
|
||
normalizedCache(id: ID!): NormalizedCache | ||
} | ||
|
||
type NormalizedCache { | ||
id: ID! | ||
|
||
displayName: String! | ||
|
||
recordCount: Int! | ||
|
||
records: [Record!]! | ||
} | ||
|
||
type Record { | ||
key: String! | ||
|
||
fields: Fields! | ||
|
||
sizeInBytes: Int! | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New apollo-execution
can generate a SDL file from the code itself (it's now truly code-first). This file is generated from the Kotlin code and checked in source control to monitor for API changes (just like BCV but for the network boundary)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Super neat! 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now that I think about it, there should be a "schemaDump" and "schemaCheck" task, just like BCV too, I'll think of something
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
* Remove apollo-execution * fix tests
apollo-execution
has moved to https://github.com/apollographql/apollo-kotlin-execution/