Allows creating mock schemas where there are default values on custom schemas by bbakerman · Pull Request #4039 · graphql-java/graphql-java

If a schema has a default value on a custom scalar then the current MockWiringFactory will not fake it out well enough to create the schema

You get

java.lang.UnsupportedOperationException: Not implemented...this is only a mocked wiring

	at graphql.schema.idl.MockedWiringFactory$1.parseLiteral(MockedWiringFactory.java:72)
	at graphql.schema.Coercing.parseLiteral(Coercing.java:176)
	at graphql.schema.Coercing.parseLiteral(Coercing.java:205)
	at graphql.validation.ValidationUtil.parseLiteral(ValidationUtil.java:128)
	at graphql.validation.ValidationUtil.isValidLiteralValue(ValidationUtil.java:100)
	at graphql.schema.validation.DefaultValuesAreValid.visitGraphQLArgument(DefaultValuesAreValid.java:70)
	at graphql.schema.GraphQLArgument.accept(GraphQLArgument.java:301)
	at graphql.schema.SchemaTraverser$TraverserDelegateListVisitor.enter(SchemaTraverser.java:136)
	at graphql.util.Traverser.traverse(Traverser.java:144)
	at graphql.schema.SchemaTraverser.depthFirstFullSchema(SchemaTraverser.java:73)
	at graphql.schema.validation.SchemaValidator.validateSchema(SchemaValidator.java:41)

This changes it so it returns a value from the literal. Its still not an executable schema (there is no true data fetchers or type resolves) but the schema will be created ok