Module: GraphQL::Subscriptions::SubscriptionRoot Deprecated Private
- Defined in:
- lib/graphql/subscriptions/subscription_root.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Deprecated.
This module is no longer needed.
Defined Under Namespace
Modules: InstanceMethods Classes: Extension
Instance Method Summary collapse
Instance Method Details
#field(*args, extensions: [], **rest, &block) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
26 27 28 29 30 31 32 33 34 |
# File 'lib/graphql/subscriptions/subscription_root.rb', line 26 def field(*args, extensions: [], **rest, &block) extensions += [Extension] # Backwards-compat for schemas if !rest[:subscription] name = args.first alias_method(name, :skip_subscription_root) end super(*args, extensions: extensions, **rest, &block) end |