# Package-level declarations

## Types

Flag
Link copied to clipboard
interface Flag

Represents a feature flag with a name

FlagManager
Link copied to clipboard
interface FlagManager

Interface for managing feature flags.

Flags
Link copied to clipboard
enum Flags : Enum<Flags> , Flag
NaiveTenantCodeInjector
Link copied to clipboard
class NaiveTenantCodeInjector : TenantCodeInjector
ResolverErrorBuilder
Link copied to clipboard
interface ResolverErrorBuilder

Interface for building GraphQL errors from exceptions that occur during data fetching.q

ResolverErrorReporter
Link copied to clipboard
fun interface ResolverErrorReporter

Interface for reporting errors that occur during GraphQL resolver execution.

TenantAPIBootstrapperBuilder
Link copied to clipboard
interface TenantAPIBootstrapperBuilder

A tagging interface for builders of TenantAPIBootstrapper implementations.

TenantCodeInjector
Link copied to clipboard
interface TenantCodeInjector

The Viaduct engine always invokes tenant code by first instantiating a containing class (e.g., a @Resolver class), and then calling a member of that instance. A new instance is created for each invocation of a tenant function, even when that function is invoked multiple times per request.