Add eager loading for repository queries to fix lazy loading issues

Fixkamo-shared-library
Shipped
December 5, 2025 at 3:22 PM UTC
Author
snadjafinia
Commit
d99086f

- CustomFormRepository: Added LEFT JOIN FETCH for stacks and fields in findByIdAndOrganizationId - LeadMarketRepository: Added LEFT JOIN FETCH for marketCustomForms, customForm, vendorProducts, and vendor in findByIdAndOrganizationId This fixes issues where lazy-loaded entities were not available when converting to DTOs outside transactions.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing