ash/test/api/api_test.exs
Zach Daniel ff756b72a7 improvement: deprecation!
A deprecation warning will be shown at compile time to illustrate
a change from listing all of your resources in an api to listing
them in a registry and connecting that registry to the api
2021-10-07 02:41:02 -04:00

15 lines
262 B
Elixir

defmodule Ash.Test.Resource.ApiTest do
@moduledoc false
use ExUnit.Case, async: true
defmacrop defposts(do: body) do
quote do
defmodule Post do
@moduledoc false
use Ash.Resource
unquote(body)
end
end
end
end