Root Object Field
interface RootObjectField<Parent : GRT, UnwrappedType : Object, A : Arguments> : CompositeField<Parent, UnwrappedType> (source)
A RootObjectField describes static properties of a field on a root query field (a field on the root query type or a namespace type reachable from the root query type), whose output type is a non-list object type.
The A type parameter captures the field's arguments type for compile-time type safety in ctx.rootFieldRef(field, args).