Benoit 'BoD' Lubek
Benoit 'BoD' Lubek
Kotlin 1.7 Beta [has been released](https://blog.jetbrains.com/kotlin/2022/05/kotlin-1-7-0-beta/), let's try it on the project and see if we encounter any issue with it.
When using `@defer` the expectation is that the deferred parts are surfaced as soon as they arrive. However the current [JS](https://github.com/apollographql/apollo-kotlin/blob/c6a16054c57e9c3b2c2c93f895d3169b37186d8a/apollo-runtime/src/jsMain/kotlin/com/apollographql/apollo3/network/http/KtorHttpEngine.kt#L49) and [Apple](https://github.com/apollographql/apollo-kotlin/blob/584d5a5ae94e6deb13568552bfa8d19f389ed588/apollo-runtime/src/appleMain/kotlin/com/apollographql/apollo3/network/http/NSURLSessionHttpEngine.kt#L135) `DefaultHttpEngine` implementations buffer the whole response before...
Highlight `@defer` usage and limitations, probably in a specific section.
At least for now we won't support batching in a `@defer` scenario, so let's automatically opt-out any operation using `@defer` from batching.
### Current situation `ApolloCall` exposes 2 APIs: - `suspend execute(): ApolloResponse` - `toFlow(): Flow` `execute()` will throw an `ApolloException` in case of a network, http, or cache error (can also...
It is now possible to specify a type and adapter for built-in scalars (#3748) so the terminology "custom scalar" could be simply "scalar". The class `CustomScalarAdapters` (and related functions `customScalarAdapters`...
When a nullable field is marked `@nonnull` locally, it of course can still be returned as `null` by the backend. In particular this can happen in case of partial errors....
With standard RxJava, you can do: mySingle .subscribe ({ result -> println(result) }, {e -> e.printStackTrace()}) so one would suppose that with RxKotlin you could do mySingle .subscribeBy({ println(it) },...
### Description ### Stacktrace Please paste the full stacktrace from the IDEA error popup. ``` java.lang.IllegalArgumentException: Argument for @NotNull parameter 'locations' of com/intellij/lang/jsgraphql/ide/introspection/GraphQLIntrospectionResultToSchema.createDirectiveLocations must not be null at com.intellij.lang.jsgraphql.ide.introspection.GraphQLIntrospectionResultToSchema.$$$reportNull$$$0(GraphQLIntrospectionResultToSchema.java) at...
I voted on the wrong option by mistake, and it doesn't look like I can unvote.