All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.expedia.graphql.schema.generator.state.SchemaGeneratorState.kt Maven / Gradle / Ivy

package com.expedia.graphql.schema.generator.state

import com.expedia.graphql.schema.generator.TypesCache
import graphql.schema.GraphQLDirective
import graphql.schema.GraphQLType

internal class SchemaGeneratorState(supportedPackages: List) {
    val cache = TypesCache(supportedPackages)
    val additionalTypes = mutableSetOf()
    val directives = mutableSetOf()

    fun getValidAdditionalTypes(): List = additionalTypes.filter { cache.doesNotContainGraphQLType(it) }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy