Package manifold.graphql.rt.api
Class Config
- java.lang.Object
-
- manifold.graphql.rt.api.Config
-
public class Config extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Configinstance()booleanisRemoveNullConstraintValues()If true, recursively removes allnullvalues from the variables component of the GraphQL request payload, otherwisenullare retained.voidsetRemoveNullConstraintValues(boolean value)
-
-
-
Method Detail
-
instance
public static Config instance()
-
isRemoveNullConstraintValues
public boolean isRemoveNullConstraintValues()
If true, recursively removes allnullvalues from the variables component of the GraphQL request payload, otherwisenullare retained. Note the treatment ofnullvariable values is not well established by the GraphQL specification. It states that: null may be interpreted differently while also stating: The same two methods of representing the lack of a value are possible via variables by either providing the a variable value as null and not providing a variable value at all. See https://spec.graphql.org/October2016/#sec-Null-Value. Note, the default setting isfalse, which does not removenullvariable/input values.
-
setRemoveNullConstraintValues
public void setRemoveNullConstraintValues(boolean value)
-
-