File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
graphql/src/main/kotlin/nl/nlportal/graphql/customtype Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ import graphql.schema.CoercingParseLiteralException
30
30
import graphql.schema.CoercingSerializeException
31
31
import graphql.schema.GraphQLScalarType
32
32
import nl.nlportal.core.util.Mapper
33
- import java.util.*
33
+ import java.util.Locale
34
34
35
35
object JSONCoercing : Coercing<ObjectNode, ObjectNode> {
36
36
override fun parseValue (
@@ -55,7 +55,7 @@ object JSONCoercing : Coercing<ObjectNode, ObjectNode> {
55
55
variables : CoercedVariables ,
56
56
graphQLContext : GraphQLContext ,
57
57
locale : Locale ,
58
- ): ObjectNode ? {
58
+ ): ObjectNode {
59
59
val jsonString = (input as ? ObjectValue )!!
60
60
return runCatching {
61
61
parseValue(input, graphQLContext, locale)
You can’t perform that action at this time.
0 commit comments