wow @zachdaniel that’s super fast! You comment here is 18hours ago and I see this commit implementing this feature17hrs ago! improvement: support nested `base_route`s · ash-project/ash_json_api@bf77d4d · GitHub
This is something I was also looking for as well. However, I would like to understand the difference between using related or post_to_relationship macro inside the routes vs what you have proposed as a new solution here:
For eg., can the following do the same as what you have proposed as nested base_route for creating comment?
json_api do
routes do
base_route "/articles", Article do
post_to_relationship :comments
end
end






















