Skip to content

Introspection - Interfaces and empty possible types #355

@chrissm79

Description

@chrissm79

When sending up a introspection query I am getting "possibleTypes" =>[] on my interfaces. My ObjectTypes define their interfaces w/ a callback and the interfaces themselves resolve just fine on a regular query. It's just when sending up the following introspection query it always provides a empty array value for interfaces.

{
    __schema {
        types {
            kind
            name
            possibleTypes {
                name
            }
        }
    }
}

(I also noticed that the callback defined in the setTypeLoader of the SchemaConfig is never called.. not sure if it should be or not but I figured it would do so to try and get the interfaces for each defined type)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions