diff --git a/ndc-connector-phoenix/src/main/kotlin/io/hasura/phoenix/NoRelationshipsQueryGenerator.kt b/ndc-connector-phoenix/src/main/kotlin/io/hasura/phoenix/NoRelationshipsQueryGenerator.kt index 4368bed..8e6d543 100644 --- a/ndc-connector-phoenix/src/main/kotlin/io/hasura/phoenix/NoRelationshipsQueryGenerator.kt +++ b/ndc-connector-phoenix/src/main/kotlin/io/hasura/phoenix/NoRelationshipsQueryGenerator.kt @@ -1,6 +1,7 @@ package io.hasura.phoenix -import io.hasura.ndc.app.services.ConnectorConfigurationLoader + +import io.hasura.ndc.common.ConnectorConfiguration import io.hasura.ndc.common.NDCScalar import io.hasura.ndc.ir.* import io.hasura.ndc.ir.Field.ColumnField @@ -131,7 +132,7 @@ object NoRelationshipsQueryGenerator : BaseQueryGenerator() { } fun columnTypeTojOOQType(collection: String, field: ColumnField): DataType { - val connectorConfig = ConnectorConfigurationLoader.config + val connectorConfig = ConnectorConfiguration.Loader.config val table = connectorConfig.tables.find { it.tableName == collection } ?: error("Table $collection not found in connector configuration")