File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed
plugin/src/main/kotlin/com/apollographql/ijplugin/telemetry Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ import com.apollographql.ijplugin.telemetry.TelemetryProperty.ApolloKotlinModule
45
45
import com.apollographql.ijplugin.telemetry.TelemetryProperty.ApolloLanguageVersion
46
46
import com.apollographql.ijplugin.telemetry.TelemetryProperty.ApolloLinkSqlite
47
47
import com.apollographql.ijplugin.telemetry.TelemetryProperty.ApolloNullableFieldStyle
48
+ import com.apollographql.ijplugin.telemetry.TelemetryProperty.ApolloOperationManifestFormat
48
49
import com.apollographql.ijplugin.telemetry.TelemetryProperty.ApolloServiceCount
49
50
import com.apollographql.ijplugin.telemetry.TelemetryProperty.ApolloUseSemanticNaming
50
51
import com.apollographql.ijplugin.telemetry.TelemetryProperty.ApolloUsedOptions
@@ -244,7 +245,8 @@ private fun ApolloGradleToolingModel.toTelemetryProperties(): Set<TelemetryPrope
244
245
add(ApolloServiceCount (apolloServiceCount))
245
246
246
247
apolloServiceTelemetryData.forEach {
247
- it.operationManifestFormat?.let { add(ApolloCodegenModels (it)) }
248
+ it.codegenModels?.let { add(ApolloCodegenModels (it)) }
249
+ it.operationManifestFormat?.let { add(ApolloOperationManifestFormat (it)) }
248
250
it.warnOnDeprecatedUsages?.let { add(ApolloWarnOnDeprecatedUsages (it)) }
249
251
it.failOnWarnings?.let { add(ApolloFailOnWarnings (it)) }
250
252
it.generateKotlinModels?.let { add(ApolloGenerateKotlinModels (it)) }
Original file line number Diff line number Diff line change @@ -78,10 +78,19 @@ sealed class TelemetryProperty(
78
78
*/
79
79
class AndroidGradlePluginVersion (version : String ) : TelemetryProperty(" android_agp_version" , version)
80
80
81
+ /* *
82
+ * Value of the Apollo Kotlin option `operationManifestFormat` if set.
83
+ *
84
+ * Note: due to a typo in a previous version of the plugin, this property is tracked as `ak_codegen_models` instead of `ak_operation_manifest_format`.
85
+ */
86
+ class ApolloOperationManifestFormat (operationManifestFormat : String ) : TelemetryProperty(" ak_codegen_models" , operationManifestFormat)
87
+
81
88
/* *
82
89
* Value of the Apollo Kotlin option `codegenModels` if set.
90
+ *
91
+ * Note: due to a typo in a previous version of the plugin, this property is tracked as `ak_codegen_models_2` instead of `ak_codegen_models`.
83
92
*/
84
- class ApolloCodegenModels (codegenModels : String ) : TelemetryProperty(" ak_codegen_models " , codegenModels)
93
+ class ApolloCodegenModels (codegenModels : String ) : TelemetryProperty(" ak_codegen_models_2 " , codegenModels)
85
94
86
95
/* *
87
96
* Value of the Apollo Kotlin option `warnOnDeprecatedUsages` if set.
You can’t perform that action at this time.
0 commit comments