Skip to main content

Allow by default

By default, GraphQL Citadel blocks operation if there are no schema directives configured. This is known as "Deny-by-Default". But if you want to allow it, please configure denyByDefault to false

const { citadelDirective, citadelDirectiveTransformer } = citadelDirective({
...,
denyByDefault: false
})

Defaults to false.