Skip to content

Commit

Permalink
make inferVariableDefinitions public
Browse files Browse the repository at this point in the history
  • Loading branch information
OlegIlyenko committed Jul 29, 2017
1 parent 5aabec4 commit aa2bf7b
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -42,7 +42,7 @@ case class InputDocumentMaterializer[Vars](schema: Schema[_, _], variables: Vars
}
}

private def inferVariableDefinitions[T](document: InputDocument, inputType: InputType[T]) = {
def inferVariableDefinitions[T](document: InputDocument, inputType: InputType[T]) = {
document.values.flatMap { v
AstVisitor.visitAstWithState(schema, v, new mutable.HashMap[String, VariableDefinition]) { (typeInfo, state)
typeInfo.withInputType(inputType)
Expand Down

0 comments on commit aa2bf7b

Please sign in to comment.