Skip to content

Unusable type signature for overload of graphql.schema.SchemaTraverser::depthFirst #4147

@alf

Description

@alf

Describe the bug

The following method declaration is only usable by graphql.schema.SchemaTraverser since the second arguments type is a private static inner class:

public TraverserResult depthFirst(final Traverser<GraphQLSchemaElement> traverser, final TraverserDelegateVisitor traverserDelegateVisitor, Collection<? extends GraphQLSchemaElement> roots);

I suspect that the signature should have been either private, or:

public TraverserResult depthFirst(final Traverser<GraphQLSchemaElement> traverser, final TraverserVisitor<GraphQLSchemaElement> traverserVisitor, Collection<? extends GraphQLSchemaElement> roots);

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