Skip to content

Commit

Permalink
Use directives of inputDefinition instead of object fix #280
Browse files Browse the repository at this point in the history
  • Loading branch information
oliemansm committed Jun 18, 2019
1 parent 94518ee commit cf387b0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ class SchemaParser internal constructor(scanResult: ScannedSchemaObjects, privat
.description(if (inputDefinition.description != null) inputDefinition.description.content else getDocumentation(inputDefinition))
.defaultValue(inputDefinition.defaultValue)
.type(determineInputType(inputDefinition.type))
.withDirectives(*buildDirectives(definition.directives, setOf(), Introspection.DirectiveLocation.INPUT_FIELD_DEFINITION))
.withDirectives(*buildDirectives(inputDefinition.directives, setOf(), Introspection.DirectiveLocation.INPUT_FIELD_DEFINITION))
builder.field(fieldBuilder.build())
}

Expand Down

0 comments on commit cf387b0

Please sign in to comment.