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: generator/graphql-kotlin-schema-generator/src/main/kotlin/com/expediagroup/graphql/generator/execution/KotlinDataFetcherFactoryProvider.kt
+4-2
Original file line number
Diff line number
Diff line change
@@ -66,10 +66,12 @@ open class SimpleKotlinDataFetcherFactoryProvider : KotlinDataFetcherFactoryProv
66
66
}
67
67
68
68
/**
69
-
* [SimpleSingletonKotlinDataFetcherFactoryProvider] is a specialization of [SimpleKotlinDataFetcherFactoryProvider] that will provide a
69
+
* [SimpleSingletonKotlinDataFetcherFactoryProvider] is a specialization of [SimpleKotlinDataFetcherFactoryProvider] that will provide
70
70
* a [SingletonPropertyDataFetcher] that should be used to target property resolutions without allocating a DataFetcher per property
Copy file name to clipboardExpand all lines: generator/graphql-kotlin-schema-generator/src/main/kotlin/com/expediagroup/graphql/generator/execution/SingletonPropertyDataFetcher.kt
Copy file name to clipboardExpand all lines: generator/graphql-kotlin-schema-generator/src/test/kotlin/com/expediagroup/graphql/generator/ToSchemaTest.kt
+28
Original file line number
Diff line number
Diff line change
@@ -86,6 +86,22 @@ class ToSchemaTest {
86
86
assertEquals(1, geo?.get("query")?.get("id"))
87
87
}
88
88
89
+
@ParameterizedTest(name ="{index} ==> {1}")
90
+
@MethodSource("toSchemaTestArguments")
91
+
fun`SchemaGenerator generates resolvers for parent classes`(provider:KotlinDataFetcherFactoryProvider, name:String) {
0 commit comments