IrFragmentDefinition
@Serializable
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
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
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