Skip to content

Commit

Permalink
Remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
jord1e committed Apr 12, 2022
1 parent dc395b8 commit 2de2a6d
Showing 1 changed file with 0 additions and 3 deletions.
Expand Up @@ -22,7 +22,6 @@ import graphql.schema.DataFetcher
import graphql.schema.DataFetcherFactories
import graphql.schema.DataFetcherFactory
import graphql.schema.DataFetchingEnvironment
import graphql.schema.FieldCoordinates
import org.springframework.context.annotation.Bean
import org.springframework.context.annotation.Configuration

Expand All @@ -46,8 +45,6 @@ data class SimpleNested(val hello: String)
class CustomDataFetcherFactoryTest {
@DgsData(parentType = "Query", field = "simpleNested")
fun hello(dfe: DataFetchingEnvironment): SimpleNested {
val coordinates = FieldCoordinates.coordinates("Query", "simpleNested")
val fieldDefinition = dfe.graphQLSchema.getFieldDefinition(coordinates)
return SimpleNested("world")
}
}

0 comments on commit 2de2a6d

Please sign in to comment.