Open
Description
Description
Trying to set custom type:
import com.fasterxml.jackson.databind.node.ObjectNode
//...
val schema = SchemaParser.newParser()
schema.dictionary("EntityCreateInput", ObjectNode::class.java)
schema.dictionary("EntityUpdateInput", ObjectNode::class.java)
Actual behavior
Getting error:
Failed to instantiate [graphql.kickstart.tools.SchemaParser]: Factory method 'schemaParser' threw exception; nested exception is java.lang.IllegalArgumentException: value already present: class com.fasterxml.jackson.databind.node.ObjectNode
How to set custom type with the same class?