Ash JSON API is showing an error when following tutorial
Hello, after taking a break from Phoenix and Ash, I decided to move forward with my side project. When setting up the
ash_json_api
extension, I got the following error:
I added it to my Phoenix router like so:
I am using Phoenix 1.7.7 and Elixir 1.15.4. Is this a known thing or did Phoenix maybe change some internals? Thanks!2 Replies
The
ash_json_api
router doesn't get added to your phoenix router
it gets defined in a separate module, and then you forward to it from the other moduleAh that would explain it lol. Thanks!