Skip to content

Commit 8eb11c9

Browse files
committed
Add directives to directive arguments
1 parent 52e2b57 commit 8eb11c9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/kotlin/graphql/kickstart/tools/SchemaParser.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,7 @@ class SchemaParser internal constructor(
327327
.description(getDocumentation(arg, options))
328328
.type(determineInputType(arg.type, inputObjects, setOf()))
329329
.apply { arg.defaultValue?.let { defaultValueLiteral(it) } }
330+
.withDirectives(*buildDirectives(arg.directives, Introspection.DirectiveLocation.ARGUMENT_DEFINITION))
330331
.withAppliedDirectives(*buildAppliedDirectives(arg.directives))
331332
.build())
332333
}

0 commit comments

Comments
 (0)