Update documentation for STI #335
whitespacecode
started this conversation in
General
Replies: 2 comments 1 reply
|
Thanks for the hint. |
0 replies
|
Could you please explain the solution in more detail, I am getting a circular error here: Parent class: Sub class |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Maybe not such a big deal but currently the documentation for Single Table Inheritance makes it that the Models are in one file?
What if you rather have them split in separated model files.
The base entity should have
export { Class }And the derived entity should have an
import { Class } from './Class';All reactions