Module: GraphQL::DeprecatedDSL
- Defined in:
- lib/graphql/deprecated_dsl.rb
Overview
There are two ways to apply the deprecated !
DSL to class-style schema definitions:
-
Scoped by file (CRuby only), add to the top of the file:
using GraphQL::DeprecatedDSL
(This is a “refinement”, there are also other ways to scope it.)
-
Global application, add before schema definition:
GraphQL::DeprecatedDSL.activate
Defined Under Namespace
Modules: Methods
Constant Summary
- TYPE_CLASSES =
[ GraphQL::Schema::Scalar, GraphQL::Schema::Enum, GraphQL::Schema::InputObject, GraphQL::Schema::Union, GraphQL::Schema::Interface, GraphQL::Schema::Object, ]