Package io.smallrye.graphql.api
Interface Adapter<From,To>
-
public interface Adapter<From,To>
Adapter definition that allow adapting objects to and from each other- Author:
- Phillip Kruger ([email protected])
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description From
from(To a)
To
to(From o)
default boolean
unwrap()
If the type is a generic type, unwrap and wrap again.
-