We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 751c367 commit 088dfa5Copy full SHA for 088dfa5
src/main/java/graphql/schema/Coercing.java
@@ -1,6 +1,9 @@
1
package graphql.schema;
2
3
4
+import graphql.PublicSpi;
5
+
6
+@PublicSpi
7
public interface Coercing<I, O> {
8
9
@@ -25,7 +28,7 @@ public interface Coercing<I, O> {
25
28
* Called to convert a AST node
26
29
*
27
30
* @param input is never null
- * @return null if not possible/invalid
31
+ * @return A null value indicates that the literal is not valid. See {@link graphql.validation.ValidationUtil#isValidLiteralValue}
32
*/
33
I parseLiteral(Object input);
34
}
0 commit comments