findImplementations
@Deprecated
public java.util.List<GraphQLObjectType> findImplementations(GraphQLSchema schema,
GraphQLInterfaceType interfaceType)
Deprecated.
This method is deprecated due to a performance concern.
The Algorithm complexity: O(n^2), where n is number of registered GraphQLTypes
That indexing operation is performed twice per input document:
1. during validation
2. during execution
We now indexed all types at the schema creation, which has brought complexity down to O(1)
- Parameters:
schema
- GraphQL schema
interfaceType
- an interface type to find implementations for
- Returns:
- List of object types implementing provided interface