Skip to main content

Options

Properties

PropertyTypeDefault valueDescription

modules

Record<string, unknown>[]

undefined

Array of module objects to include in the application.

Example

const modules = [userModule, postModule, commentModule];

executableSchemaOptions?

ExecutableSchemaOptions

undefined

Options to pass to makeExecutableSchema. See https://the-guild.dev/graphql/tools/docs/generate-schema#makeexecutableschema

pruneSchema?

boolean

false;

When true, removes fields that don't have corresponding resolvers.