Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
07-17-2022 10:46 PM
I am trying to make a GraphQL server Relay compliant. I trried to add Node interface in the schema.graphql (as suggested on Relay.dev graphql-server-specification) but I am getting the following error:
Error: Type or Interface with name `Node` reserved to support Relay. See https://relay.dev/graphql/ for more information.
Here is my schema file content:
interface Node {
id: ID!
}
type Product implements Node {
id: ID!
product_name: String!
}
type Query {
Products: [Product]
Product(id: ID!): Product
Node(id: ID!): Node
}
I would like to know if it's possible to make the server Relay compliant?
Can we use custom resolvers for that?
All the sessions of the conference are now available online