Skip to content

Release 0.4.9

Choose a tag to compare

@github-actions github-actions released this 17 Feb 00:49
· 312 commits to main since this release
5e31f3a

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.