ash_graphql/test/support/relay_ids/api.ex
Riccardo Binetti 365b3aedc6
feat: Relay refetching support (#106)
* 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.
2024-01-24 14:59:12 -05:00

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