IrFragmentDefinition

@Serializable
data class IrFragmentDefinition(val name: String, val description: String?, val filePath: String, val variables: List<IrVariable>, val typeCondition: String, val selectionSets: List<IrSelectionSet>, val interfaceModelGroup: IrModelGroup?, val dataProperty: IrProperty, val dataModelGroup: IrModelGroup, val source: String, val isTypeConditionAbstract: Boolean)

Constructors

Link copied to clipboard
constructor(name: String, description: String?, filePath: String, variables: List<IrVariable>, typeCondition: String, selectionSets: List<IrSelectionSet>, interfaceModelGroup: IrModelGroup?, dataProperty: IrProperty, dataModelGroup: IrModelGroup, source: String, isTypeConditionAbstract: Boolean)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Whether the type condition is an interface or an enum. In that case, the data builder need to require __typename

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Fragments do not have variables per-se (as of writing) but we can infer them from the document Default values will always be null for those