Update documentation for STI #335
whitespacecode
started this conversation in
General
Replies: 2 comments 1 reply
-
Thanks for the hint. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Could you please explain the solution in more detail, I am getting a circular error here: Parent class:
Sub class
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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';
Beta Was this translation helpful? Give feedback.
All reactions