Repository navigation
Release 0.4.9
Fix: FindById HasOne includes now return class instances
When using findById with include on a HasOne association, the included related record was previously returned as a plain object (attributes only), so instance methods like update were not available.
Change: Included HasOne records are now returned as full class instances with instance methods, consistent with BelongsTo and HasMany/HasAndBelongsToMany includes.
- Scope: Runtime behavior only; no API or type definition changes.
- Impact: You can call entity methods (e.g. update) on HasOne includes without loading the related entity again.