Ash.DataLayer.Simple with AshJsonApi.Resource
I am stuck with how a Ash.DataLayer.Simple and ash_json_api should interop. Someone can provide an example how i could make a
search route work that returns one or more Resources with data layer Ash.DataLayer.Simple?2 Replies
The actual use case is to wrap external data in that resource
Here is my example case: https://elixirforum.com/t/json-api-with-ash-but-no-db-storage-needed/65625/8
Elixir Programming Language Forum
JSON API with Ash but no DB storage needed
Actually I got stuck with this: defmodule My.Guests do use Ash.Domain, otp_app: :my, extensions: [AshJsonApi.Domain] json_api do routes do base_route "/cards", My.Guests.Card do route :get, "/test", :test end end end resources do resource My.Guests.Card do define :test, action: :test e...