Compile Error with JsonApi using related()
Hi there! 👋 I’m getting error message "(ArgumentError) Found an action of type read while looking for an action of type get_related, Perhaps you passed a changeset with the incorrect action type into your Api?" and I don’t understand how to solve it.
Here’s the code:
I’m using the
main
branch of ash_json_api
together with ash
2.9.4
. I went through all Spark DSL stuff, but couldn’t find a clue about get_related
searching the documentation.4 Replies
This looks like a bug. Will look into it today.
Thank you! 🙂
Could you try
ash_json_api
main and let me know if that fixes your issue?Hi Daniel, that works nicely now! 🎉 Thank you so much! 👏