Closed user20230119 closed 2 months ago
Is your feature request related to a problem? Please describe. Right now it is not possible to use a generic action with ash_json_api unfortunately
ash_json_api
Describe the solution you'd like Add a warning in the docs that it is not possible to use a generic action with ash_json_api unfortunately https://hexdocs.pm/ash_json_api/getting-started-with-json-api.html
Describe alternatives you've considered You would need to make your own route/controller and call the action, and pass the result into our serializer
Express the feature either with a change to resource syntax, or with a change to the resource interface
Right now it is not possible to use a generic action with ash_json_api unfortunately
Additional context https://discord.com/channels/711271361523351632/711271361523351636/1162969517845118976
This has been added in main of ash_json_api.
Is your feature request related to a problem? Please describe. Right now it is not possible to use a generic action with
ash_json_api
unfortunatelyDescribe the solution you'd like Add a warning in the docs that it is not possible to use a generic action with
ash_json_api
unfortunately https://hexdocs.pm/ash_json_api/getting-started-with-json-api.htmlDescribe alternatives you've considered You would need to make your own route/controller and call the action, and pass the result into our serializer
Express the feature either with a change to resource syntax, or with a change to the resource interface
Right now it is not possible to use a generic action with
ash_json_api
unfortunatelyAdditional context https://discord.com/channels/711271361523351632/711271361523351636/1162969517845118976