Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add Single Table Inheritance support #966

Merged
merged 21 commits into from Mar 3, 2024
Merged

Conversation

stephenh
Copy link
Collaborator

@stephenh stephenh commented Mar 1, 2024

No description provided.

@stephenh stephenh force-pushed the feat-sti-inheritance branch 2 times, most recently from 73329a2 to 7726cce Compare March 1, 2024 21:03
@stephenh stephenh marked this pull request as ready for review March 2, 2024 15:10
@stephenh stephenh merged commit 8019e5b into main Mar 3, 2024
6 checks passed
@stephenh stephenh deleted the feat-sti-inheritance branch March 3, 2024 20:33
github-actions bot pushed a commit that referenced this pull request Mar 3, 2024
* feat: Implement STI

* Add enums to stale field check.

* Prevent the discriminator from changing.

* Remove the discriminator from the opt.

* Fix findbyId for uuid enums.

* Start work on incoming m2o polymorphism.

* Finish subType enforcement for m2os.

* Rewrite outgoing o2ms that are to subtypes.

* Fix missing inheritanceType=cti on base types.

* Fix test.

* Add STI-level not null.

* Add test for STI-level not null.

* docs

* Fix bulk update.

* Add failing test cases.

* Add implicit STI filtering.

* Fix find queries being accidentally cached.

* Fix per-STI subtype properties.

* docs

* PR feedback.

* Add test that finds against both CTI subtypes. 8019e5b
stephenh pushed a commit that referenced this pull request Mar 3, 2024
# [1.146.0](v1.145.0...v1.146.0) (2024-03-03)

### Features

* Add Single Table Inheritance support ([#966](#966)) ([8019e5b](8019e5b))
@stephenh
Copy link
Collaborator Author

stephenh commented Mar 3, 2024

🎉 This PR is included in version 1.146.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant