We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfe86bc commit 1ce9aa3Copy full SHA for 1ce9aa3
src/main/kotlin/com/expedia/graphql/schema/extensions/directiveExtensions.kt
@@ -54,7 +54,6 @@ private fun String.normalizeDirectiveName() = CaseFormat.UPPER_CAMEL.to(CaseForm
54
private data class DirectiveInfo(val directive: Annotation, val directiveAnnotation: GraphQLDirective) {
55
val effectiveName: String? = when {
56
directiveAnnotation.name.isNotEmpty() -> directiveAnnotation.name
57
- directive.annotationClass.simpleName.isNullOrBlank().not() -> directive.annotationClass.simpleName?.normalizeDirectiveName()
58
- else -> null
+ else -> directive.annotationClass.simpleName?.normalizeDirectiveName()
59
}
60
0 commit comments