mirror of
https://github.com/ash-project/ash_graphql.git
synced 2024-09-21 05:43:28 +12:00
16 lines
261 B
Elixir
16 lines
261 B
Elixir
|
defmodule AshGraphql.Test.Embed do
|
||
|
@moduledoc false
|
||
|
|
||
|
use Ash.Resource,
|
||
|
data_layer: :embedded,
|
||
|
extensions: [AshGraphql.Resource]
|
||
|
|
||
|
graphql do
|
||
|
type :embed
|
||
|
end
|
||
|
|
||
|
attributes do
|
||
|
attribute(:nested_embed, AshGraphql.Test.NestedEmbed)
|
||
|
end
|
||
|
end
|