HomeVendure FrameworkMoreMoreData AccessFindOptionsArrayToObjectOn this pageFindOptionsArrayToObject@vendure/coreSourcev3.8.0 Converts a string array of relation paths into the object form used by the TypeORM FindOptions relations property. Dotted paths are expanded into nested objects. Example TsfindOptionsArrayToObject<Order>(['customer', 'lines.productVariant']);// { customer: true, lines: { productVariant: true } } Signaturefunction findOptionsArrayToObject<T>(input: string[]): FindOptionsRelations<T> Parameters input parameterstring[]Was this chapter helpful?It was helpfulIt wasn't helpfulReport IssuePreviousEntityHydratorNextFindOptionsRelationsInputEdited Aug 13, 2026·View source