ephemient
05/07/2022, 10:31 AMvoid com.apollographql.relocated.vi.finallyStart(int)
how should I debug this? I don't see an un-relocated plugin or a mapping to at least track down what this ismbonnin
05/07/2022, 10:34 AMmbonnin
05/07/2022, 10:34 AMcom.apollographql.apollo3.external to use the "external" pluginmbonnin
05/07/2022, 10:35 AMmbonnin
05/07/2022, 10:35 AMmbonnin
05/07/2022, 10:37 AMkotlin/jvm/internal/InlineMarker.finallyStartmbonnin
05/07/2022, 10:43 AMephemient
05/07/2022, 10:53 AMcom.apollographql.apollo3:3.3.1-SNAPSHOT results in the same method missing as I saw on 3.3.0, com.apollographql.apollo3.external:3.3.1-SNAPSHOT fails with
ANTLR Tool version 4.9.3 used for code generation does not match the current runtime version 4.5.3ANTLR Runtime version 4.9.3 used for parser compilation does not match the current runtime version 4.5.3mbonnin
05/07/2022, 10:55 AMmbonnin
05/07/2022, 10:55 AMmbonnin
05/07/2022, 10:56 AMmbonnin
05/07/2022, 10:59 AMephemient
05/07/2022, 11:01 AMephemient
05/07/2022, 11:02 AMephemient
05/07/2022, 11:03 AMmbonnin
05/07/2022, 11:03 AMmbonnin
05/07/2022, 11:04 AMmbonnin
05/07/2022, 11:04 AMmbonnin
05/07/2022, 11:05 AMapollo-gradle-plugin/build/gr8/shadow/mapping.txtmbonnin
05/07/2022, 11:06 AM./gradlew :apollo-gradle-plugin:shadowR8Jar )mbonnin
05/07/2022, 11:14 AMInlineMarker.finallyStart() ) is that according to this doc, this is bytecode generated for coroutines calls, which I don't think the plugin is using 🤔mbonnin
05/07/2022, 11:26 AMephemient
05/07/2022, 11:51 AMephemient
05/07/2022, 11:53 AMmbonnin
05/07/2022, 12:11 PMephemient
05/07/2022, 12:14 PMmbonnin
05/07/2022, 12:15 PMenum Direction {
left @deprecated("use LEFT instead")
LEFT
}mbonnin
05/07/2022, 12:15 PMsealedClassedForEnumMatching.set(listOf(".*"))mbonnin
05/07/2022, 12:16 PMmbonnin
05/07/2022, 12:32 PMmbonnin
05/07/2022, 12:32 PMmbonnin
05/07/2022, 12:32 PMephemient
05/07/2022, 12:35 PMimpl also breaks (same legacy as header). maybe it would be better to get kotlinpoet to escape these (supposedly former, but I guess some remnants remain) keywordsmbonnin
05/07/2022, 12:36 PMmbonnin
05/07/2022, 12:37 PMname and ordinal not so long agombonnin
05/07/2022, 12:38 PMmbonnin
05/07/2022, 12:38 PMephemient
05/07/2022, 12:40 PMmbonnin
05/07/2022, 12:44 PMephemient
05/08/2022, 3:21 AMephemient
05/22/2022, 1:09 PMephemient
05/22/2022, 1:10 PMQUERY_DOCUMENT a const val instead of a val, which is great… except that constant values on the JVM cannot take more than 65535 MUTF-8 encoded bytes, and we have a few queries that (with fragments inlined) exceed that…mbonnin
05/22/2022, 8:28 PMval version works? In all cases sounds like a constant has to be in the bytecode?ephemient
05/22/2022, 8:28 PMmbonnin
05/22/2022, 8:29 PMmbonnin
05/22/2022, 8:30 PMval again I guess, that's the "easy" fixmbonnin
05/22/2022, 8:31 PMephemient
05/22/2022, 8:31 PMval QUERY_DOCUMENT: String get() = "..." would be sufficient; r8 should inline it to the same thing as the const val for most usersephemient
05/22/2022, 8:32 PMmbonnin
05/22/2022, 8:33 PMmbonnin
05/22/2022, 8:33 PMephemient
05/22/2022, 8:34 PMmbonnin
05/22/2022, 8:34 PMmbonnin
05/22/2022, 8:48 PMmaybe aSounds good to me. I don't think we even need the static accesswould be sufficient;val QUERY_DOCUMENT: String get() = "..."
mbonnin
05/22/2022, 8:51 PMephemient
05/22/2022, 8:53 PMQUERY_DOCUMENT as an annotation argument (dunno why they would, but they could with const val)mbonnin
05/22/2022, 8:59 PMmbonnin
05/22/2022, 9:00 PMephemient
05/22/2022, 9:01 PMmbonnin
05/22/2022, 9:01 PMmbonnin
05/22/2022, 9:04 PMmbonnin
05/22/2022, 9:05 PMephemient
05/22/2022, 9:08 PMThe Android runtime implements Class.getResourceAsStream() with a very memory-intensive cache, which holds the entire contents of the class's .jar in memory.
mbonnin
05/22/2022, 9:09 PMephemient
05/22/2022, 9:27 PMapollo-compiler/src/test/graphql/com/example/measurements also changed in my local working directory; should I add that to the PR?mbonnin
05/22/2022, 9:28 PMmbonnin
05/22/2022, 9:29 PMmbonnin
05/22/2022, 9:29 PMmbonnin
05/24/2022, 8:18 AMephemient
05/24/2022, 10:01 AM