Class DeferDirectiveOnRootLevel

java.lang.Object
graphql.validation.AbstractRule
graphql.validation.rules.DeferDirectiveOnRootLevel

@ExperimentalApi public class DeferDirectiveOnRootLevel extends AbstractRule
Defer and stream directives are used on valid root field A GraphQL document is only valid if defer directives are not used on root mutation or subscription types. See proposed spec:spec/Section 5 -- Validation.md ### Defer And Stream Directives Are Used On Valid Root Field