diff --git a/graphql-dgs/src/main/kotlin/com/netflix/graphql/dgs/internal/DgsSchemaProvider.kt b/graphql-dgs/src/main/kotlin/com/netflix/graphql/dgs/internal/DgsSchemaProvider.kt index 2d2ab6841..2db8b67ed 100644 --- a/graphql-dgs/src/main/kotlin/com/netflix/graphql/dgs/internal/DgsSchemaProvider.kt +++ b/graphql-dgs/src/main/kotlin/com/netflix/graphql/dgs/internal/DgsSchemaProvider.kt @@ -94,6 +94,24 @@ class DgsSchemaProvider( private val schemaWiringValidationEnabled: Boolean = true, private val enableEntityFetcherCustomScalarParsing: Boolean = false, ) { + + @Suppress("UNUSED_PARAMETER") + @Deprecated("The mockProviders argument is no longer supported") + constructor(applicationContext: ApplicationContext, + federationResolver: Optional, + existingTypeDefinitionRegistry: Optional, + mockProviders: Set, + schemaLocations: List = listOf(DEFAULT_SCHEMA_LOCATION), + dataFetcherResultProcessors: List = emptyList(), + dataFetcherExceptionHandler: Optional = Optional.empty(), + entityFetcherRegistry: EntityFetcherRegistry = EntityFetcherRegistry(), + defaultDataFetcherFactory: Optional> = Optional.empty(), + methodDataFetcherFactory: MethodDataFetcherFactory, + componentFilter: ((Any) -> Boolean)? = null, + schemaWiringValidationEnabled: Boolean = true, + enableEntityFetcherCustomScalarParsing: Boolean = false,): this(applicationContext, federationResolver, existingTypeDefinitionRegistry, schemaLocations, dataFetcherResultProcessors, dataFetcherExceptionHandler, entityFetcherRegistry, + defaultDataFetcherFactory, methodDataFetcherFactory, componentFilter, schemaWiringValidationEnabled, enableEntityFetcherCustomScalarParsing) + private val dataFetcherInfo = AtomicReference(DataFetcherInfo(emptyList(), emptySet(), emptySet())) /**