IrFieldInfo
@Serializable
Information about a field that is going to be turned into an IrProperty. This merges fields and replaces directives by things that are easier to use from codegen (description, deprecation, etc...)
type can be used to be resolved to a model. It is made nullable if this field has an @include
or @defer
condition
For merged fields, IrFieldInfo is the information that is common to all merged fields
For synthetic fields, it is constructed by hand
TODO: maybe merge this with IrProperty
Constructors
Properties
Link copied to clipboard
from the fieldDefinition directives
Link copied to clipboard
from the fieldDefinition
Link copied to clipboard
The GraphQL type of the field needed to build the CompiledField or null for synthetic fields
Link copied to clipboard
from the fieldDefinition directives
Link copied to clipboard
The responseName of this field (or synthetic name)