Skip to content

Add try_load descendant-chain spec and deep descendant lookup#132

Merged
giallon merged 1 commit into
masterfrom
test/try-load-descendant-chain
Apr 10, 2026
Merged

Add try_load descendant-chain spec and deep descendant lookup#132
giallon merged 1 commit into
masterfrom
test/try-load-descendant-chain

Conversation

@giallon
Copy link
Copy Markdown
Collaborator

@giallon giallon commented Apr 10, 2026

This change fixes model resolution in try_load when the target model is not a direct child of CouchbaseOrm::Base.
It also adds a regression test for a 3-level inheritance chain: ApplicationRecord -> EventBase -> SendSmsEvent.

@giallon giallon self-assigned this Apr 10, 2026
@giallon giallon merged commit 4140410 into master Apr 10, 2026
33 of 34 checks passed
@giallon giallon deleted the test/try-load-descendant-chain branch April 10, 2026 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant