Heritage
Heritage copied to clipboard
Heirs not respecting predecessor validation?
I'm able to create child objects without satisfying the validation on the parent object.
When I try to create the parent object directly without the required field, I get the validation error like I'm supposed to. However, no complaints when I create the child object without the required parent field set.
I solved this here:
https://github.com/marshmallowcreme/Heritage/commit/6160eda1575deea91d7328c610acf6ecd8641aae
Could you create a pull request for this?
I don't know how. I actually forked from this fork:
https://github.com/snitko/Heritage
So, I'm not sure how to submit a pull request without including all the other changes.
In that case you might have to make a fork of this repo, then cherry pick your changes into that fork