Class GraphQLDirectiveFieldResult
java.lang.Object
se.l4.graphql.binding.resolver.directive.GraphQLDirectiveFieldResult
public class GraphQLDirectiveFieldResult extends Object
Result for an application of field directives.
-
Constructor Summary
Constructors Constructor Description GraphQLDirectiveFieldResult(graphql.schema.GraphQLFieldDefinition field, DataFetchingSupplier<?> supplier)
-
Method Summary
Modifier and Type Method Description graphql.schema.GraphQLFieldDefinition
getField()
Get the field after all directives have been applied.DataFetchingSupplier<?>
getSupplier()
Get the supplier of the field value after all directives have been applied.
-
Constructor Details
-
GraphQLDirectiveFieldResult
public GraphQLDirectiveFieldResult(graphql.schema.GraphQLFieldDefinition field, DataFetchingSupplier<?> supplier)
-
-
Method Details
-
getField
public graphql.schema.GraphQLFieldDefinition getField()Get the field after all directives have been applied.- Returns:
-
getSupplier
Get the supplier of the field value after all directives have been applied.- Returns:
-