Interface GraphQLObjectMixinEncounter
public interface GraphQLObjectMixinEncounter
Encounter used together with
GraphQLObjectMixin
.-
Method Summary
Modifier and Type Method Description GraphQLResolverContext
getContext()
Get the context for this encounter.se.l4.commons.types.reflect.TypeRef
getType()
Get the type to mixin for.GraphQLFieldBuilder<?>
newField()
Add a new field to the current output object.
-
Method Details
-
getContext
GraphQLResolverContext getContext()Get the context for this encounter. Can be used to resolve to other input and output types as needed.- Returns:
-
getType
se.l4.commons.types.reflect.TypeRef getType()Get the type to mixin for.- Returns:
-
newField
GraphQLFieldBuilder<?> newField()Add a new field to the current output object.- Returns:
-