RootObjectField

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).

Properties

Link copied to clipboard

Path of field names from the query root (optionally through @namespaceType types) to this field. For example, ["_factories", "products", "create"] for a field create on a namespace type reachable via Query._factories.products.