Package graphql.execution
Class DefaultValueUnboxer
java.lang.Object
graphql.execution.DefaultValueUnboxer
- All Implemented Interfaces:
ValueUnboxer
Public API because it should be used as a delegate when implementing a custom
ValueUnboxer
-
Field Summary
Fields inherited from interface graphql.execution.ValueUnboxer
DEFAULT
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DefaultValueUnboxer
public DefaultValueUnboxer()
-
-
Method Details
-
unbox
Description copied from interface:ValueUnboxer
Unboxes 'object' if it is boxed in anOptional
like type that this unboxer can handle. Otherwise returns its input unmodified- Specified by:
unbox
in interfaceValueUnboxer
- Parameters:
object
- to unbox- Returns:
- unboxed object, or original if cannot unbox
-
unboxValue
-