ResourceValidations error
I just updated a bunch of deps and something that worked fine before just doesn't right now.
I have the following error:
On my
User
resource, I have the following relationship:
It was my understanding that it should be fine if I specify which api
this belongs to, am I missing something?4 Replies
That should be fine, yes.
What happens if you delete
_build
and try again?I tried it but the same thing happens 😕
I tried out a prior version (2.7.1) and it works fine. I think it maybe comes from this commit in particular? Not exactly sure what causes it though
https://github.com/ash-project/ash/commit/38ec164e3e048b94139b5a8228e20e2b542d5301
GitHub
improvement: include resource validations by default · ash-project/...
improvement: validate explicit api configurations, with good error messages
🤔🤔🤔
Could it be pointing at a different relationship?
The code looks right to me, so my guess is that you’ve got a relationship somewhere else missing the
api
optionI'll take a better look, I might have missed one or made a typo.
Thanks again Zach, I'll keep you posted!