mirror of
https://github.com/ash-project/ash_graphql.git
synced 2024-09-21 05:43:28 +12:00
365b3aedc6
* feat: add support for relay global IDs * improvement: use the GraphQL type when projecting fields This allows picking also up fields coming from fragments in queries returning an interface * feat: add relay node query Allow retrieving a resource implementing the Node interface given its Relay global id.
13 lines
223 B
Elixir
13 lines
223 B
Elixir
defmodule AshGraphql.Test.RelayIds.Api do
|
|
@moduledoc false
|
|
|
|
use Ash.Api,
|
|
extensions: [
|
|
AshGraphql.Api
|
|
],
|
|
otp_app: :ash_graphql
|
|
|
|
resources do
|
|
registry(AshGraphql.Test.RelayIds.Registry)
|
|
end
|
|
end
|