Class FieldValueInfo

java.lang.Object
graphql.execution.FieldValueInfo

@PublicApi public class FieldValueInfo extends Object
The FieldValueInfo holds the type of field that was fetched and completed along with the completed value.

A field value is considered when its is both fetch via a DataFetcher to a raw value, and then it is serialized into scalar or enum or if it's an object type, it is completed as an object given its field sub selection

The getFieldValueObject() method returns either a materialized value or a CompletableFuture promise to a materialized value. Simple in-memory values will tend to be materialized, while complicated values might need a call to a database or other systems will tend to be CompletableFuture promises.