ash_graphql/test/support/relay_ids/registry.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

10 lines
255 B
Elixir

defmodule AshGraphql.Test.RelayIds.Registry do
@moduledoc false
use Ash.Registry
entries do
entry(AshGraphql.Test.RelayIds.Post)
entry(AshGraphql.Test.RelayIds.ResourceWithNoPrimaryKeyGet)
entry(AshGraphql.Test.RelayIds.User)
end
end