Hi All,
I have been trying to get Relay’s connections up and running, e.g.
defmodule Api.Gql.Schemas.Api.Types do
use Absinthe.Schema.Notation
use Absinthe.Relay.Schema.Notation, :modern
import_types(Api.Gql.Groups.Types)
...
connection node_type: :group
But, I get the following error:
Invalid Schema Page_info :page_info is not defined in your schema.
I know the Connection type uses a page_info
type but it cannot find it…
Also, I have nodes up and running, so I am part of the way there, just don’t understand how to get the rest of the way…
I have also tried putting the connection macro inside of the Groups.Types module (and many other things) without luck.