Package se.l4.graphql.binding.resolver
Interface GraphQLConversion<I,O>
- Type Parameters:
I
- the input typeO
- the output type
- All Superinterfaces:
DataFetchingConversion<I,O>
,GraphQLResolver
public interface GraphQLConversion<I,O> extends GraphQLResolver, DataFetchingConversion<I,O>
Conversion between one type to another. This can be used to simplify
conversion of an object into a GraphQL representation.
Conversions may convert directly into a type that has a GraphQL
representation, such as those with a
GraphQLObject
annotation. But
they can also convert into another type, which in turn may be converted
until a GraphQL type is found.