API Reference | fast-check | Property based testing framework
    Preparing search index...

    Type Alias EntityGraphValue<TEntityFields, TEntityRelations>

    EntityGraphValue: {
        [TEntityName in keyof EntityGraphSingleValue<
            TEntityFields,
            TEntityRelations,
        >]: EntityGraphSingleValue<TEntityFields, TEntityRelations>[TEntityName][]
    }

    Type of the values generated by entityGraph.

    The output is an object where each key is an entity type name and each value is an array of entities of that type. Each entity contains both its data fields (from arbitraries) and relationship fields (from relations), with relationships resolved to actual entity references.

    Type Parameters

    Since 4.5.0