Skip to content

Commit 541e81e

Browse files
author
Shane Myrick
committed
Remove reflections lib in favor of ClassGraph
Fixes #449 There is a securty issue with one of the dependencies of org.reflections:reflection:0.9.11. Instead of resolving the dep issue we should migrate away from this library since the last version was released in 2017. https://github.com/classgraph/classgraph is an active supported library with reported faster implementation of reflection
1 parent 4abb38f commit 541e81e

File tree

1 file changed

+1
-1
lines changed
  • graphql-kotlin-schema-generator/src/main/kotlin/com/expediagroup/graphql/generator

1 file changed

+1
-1
lines changed

graphql-kotlin-schema-generator/src/main/kotlin/com/expediagroup/graphql/generator/SubTypeMapper.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import io.github.classgraph.ClassInfoList
2222
import kotlin.reflect.KClass
2323
import kotlin.reflect.jvm.jvmName
2424

25-
internal class SubTypeMapper(supportedPackages: List<String>) {
25+
internal class SubTypeMapper(val supportedPackages: List<String>) {
2626

2727
@Suppress("Detekt.SpreadOperator")
2828
private val scanResult = ClassGraph()

0 commit comments

Comments
 (0)