Skip to content

Commit 447ff95

Browse files
gscheibelbrennantaylor
authored andcommitted
Expose the deepname so it can be reused in custom instrumentation (#40)
1 parent fa89188 commit 447ff95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/com/expedia/graphql/schema/extensions/graphQLTypeExtensions.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import kotlin.reflect.KType
1010
* Renders a readable string from the given graphql type no matter how deeply nested
1111
* Eg: [[Int!]]!
1212
*/
13-
internal val GraphQLType.deepName: String
13+
val GraphQLType.deepName: String
1414
get() = when {
1515
this is GraphQLNonNull -> "${this.wrappedType.deepName}!"
1616
this is GraphQLList -> "[${this.wrappedType.deepName}]"

0 commit comments

Comments
 (0)