@ Deprecated public List < GraphQLObjectType > findImplementations ( GraphQLSchema schema , GraphQLInterfaceType interfaceType ) { List < GraphQLObjectType > result = new ArrayList <> ( ) ; for ( GraphQLType type : schema . getAllTypesAsList ( ) ) { if ( ! ( type instanceof GraphQLObjectType ) ) { continue ; } GraphQLObjectType objectType = ( GraphQLObjectType ) type ; if ( ( objectType ) . getInterfaces ( ) . contains ( interfaceType ) ) { result . add ( objectType ) ; } } return result ; }
This method is deprecated due to a performance concern .