File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ public Object serialize(Object input) {
2525
2626 @ Override
2727 public Object parseValue (Object input ) {
28- return null ;
28+ return serialize ( input ) ;
2929 }
3030
3131 @ Override
@@ -52,7 +52,7 @@ public Object serialize(Object input) {
5252
5353 @ Override
5454 public Object parseValue (Object input ) {
55- return null ;
55+ return serialize ( input ) ;
5656 }
5757
5858 @ Override
@@ -76,7 +76,7 @@ public Object serialize(Object input) {
7676
7777 @ Override
7878 public Object parseValue (Object input ) {
79- return null ;
79+ return serialize ( input ) ;
8080 }
8181
8282 @ Override
@@ -93,7 +93,7 @@ public Object serialize(Object input) {
9393
9494 @ Override
9595 public Object parseValue (Object input ) {
96- return null ;
96+ return serialize ( input ) ;
9797 }
9898
9999 @ Override
@@ -120,7 +120,7 @@ public Object serialize(Object input) {
120120
121121 @ Override
122122 public Object parseValue (Object input ) {
123- return null ;
123+ return serialize ( input ) ;
124124 }
125125
126126 @ Override
@@ -143,7 +143,7 @@ public Object serialize(Object input) {
143143
144144 @ Override
145145 public Object parseValue (Object input ) {
146- return null ;
146+ return serialize ( input ) ;
147147 }
148148
149149 @ Override
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ private Object coerceValueForInputObjectField(GraphQLInputObjectType inputObject
8989 }
9090
9191 private Object coerceValueForScalar (GraphQLScalarType graphQLScalarType , Object value ) {
92- return graphQLScalarType .getCoercing ().serialize (value );
92+ return graphQLScalarType .getCoercing ().parseValue (value );
9393 }
9494
9595 private Object coerceValueForEnum (GraphQLEnumType graphQLEnumType , Object value ) {
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ public interface Coercing {
66
77 /**
88 * Called to convert a result of a DataFetcher to a valid runtime value.
9+ *
910 * @param input
1011 * @return
1112 */
You can’t perform that action at this time.
0 commit comments