Replies: 1 comment 1 reply
-
Going to convert this to a bug, as the error message is incorrect, it should be:
But the validation is working, as in the top model is not allowed, you have to redefine the relation in the parent model. The referenced base relation used after the from
If the DSL allowed the first, it would not work as you imagine, as the API will not know how to handle it, and implementing that work has been previously judged as a large complicated body of work that we don't plan on doing (at the moment). |
Beta Was this translation helpful? Give feedback.
-
Hi,
While trying to model some nested relation, I noticed that accessing any parent level except the one just above the current level gives me an error. For example
The error being
to fix it, I have to redefine the relation in the parent model
To me both are expressing the same intention and I find it cumbersome to have to redefine the relation throughout all the types. I'm wrong to assume that ?
Beta Was this translation helpful? Give feedback.
All reactions