The following schema:
type Query {
field: Int!
}
type A {
b: B!
}
type B {
a: A!
}
Will currently not show any errors, despite types A and B being inaccessible types (Due to the cyclic dependencies they count as referenced)
The same is true for self-referential types:
type Query {
field: Int!
}
type A {
a: A!
}