Open
Description
Describe the bug
When an interface has no type that implements it, it still creates top-level queries. When invoking the generated queries, a Cypher error occurs.
Type definitions
type Movie @node {
title: String
}
type Actor @node {
name: String
}
interface Production {
name: String
}
To Reproduce
Run the following:
query MyQuery {
productions {
name
}
}
Expected behavior
I expected any of the following:
- Schema generation does not generate queries and mutations for interfaces that are not implemented.
- Translation takes into account no implemented interfaces.
- Validation error at schema generation.
System (please complete the following information):
- OS: [macOS]
- Version: [@neo4j/[email protected]]
- Node.js version: [21]