Das135
10/21/2020, 7:43 AMdata class First(
val id: Long,
val name: String
) {
fun second(env: DataFetchingEnvironment): Second {
//query second class
}
}
fun First.another(env: DataFetchingEnvironment): Another {
// I need this function to be seen in graphql schema and resolver
}
Dariusz Kuc
10/21/2020, 3:03 PMDariusz Kuc
10/21/2020, 3:04 PMAnastasios Georgousakis
03/19/2024, 2:33 PMgenerateObject
there is no hook called where you pass as parameters the kClass
and the GraphQLObjectType
or GraphQLObjectType.Builder
. We need a hook with this parameters to enhance the generated GraphQLObjectType
with additional field and not to have to rewrite all the logic to generate a GraphQLObjectType
.Dariusz Kuc
03/20/2024, 12:02 AM