jvmMain.definitions.RaptorUnionGraphDefinitionBuilder.kt Maven / Gradle / Ivy
The newest version!
package io.fluidsonic.raptor
import io.fluidsonic.raptor.graphql.internal.*
@RaptorDsl
public class RaptorUnionGraphDefinitionBuilder internal constructor(
kotlinType: KotlinType,
name: String,
private val stackTrace: List,
) : RaptorStructuredGraphTypeDefinitionBuilder(
kotlinType = kotlinType,
name = name
) {
override fun build(description: String?, additionalDefinitions: Collection) =
UnionGraphDefinition(
additionalDefinitions = additionalDefinitions,
description = description,
kotlinType = kotlinType,
name = name,
stackTrace = stackTrace
)
}