no data in Ash.DataLayer.Simple
I have this action in one of my resources
I can see that ASh.DataLayer.Simple.set_data is called with the correct value, but I always get a
%Ash.Error.SimpleDataLayer.NoDataProvided
error back.
Not sure what I'm doing wrong
Thanks in advance9 Replies
Hm…that looks right to me. For testing, could you take it out of the
before_action
hook?That works, thank you
Maybe you could update your post here https://discordapp.com/channels/711271361523351632/1071863822844952606/1071866406414602341, as I copied it from there. So the next person doesn't have the same problem
Discord
Discord - A New Way to Chat with Friends & Communities
Discord is the easiest way to communicate over voice, video, and text. Chat, hang out, and stay close with your friends and communities.
well, you shouldn't have to do that
and in fact I'd suggest not doing that
so if it only works without the
before_action
then that is a bug
can you try main with the before_action
hook?main didn't fix it for me
damn
still getting a
Ash.Error.SimpleDataLayer.NoDataProvided
errorokay try again 😄
That did the trick, thank you