Method: GraphQL::Types::Relay::ConnectionBehaviors::ClassMethods#reauthorize_scoped_objects
- Defined in:
- lib/graphql/types/relay/connection_behaviors.rb
#reauthorize_scoped_objects(new_value = nil) ⇒ Object
The connection will skip auth on its nodes if the node_type is configured for that
101 102 103 104 105 106 107 108 109 110 111 |
# File 'lib/graphql/types/relay/connection_behaviors.rb', line 101 def (new_value = nil) if new_value.nil? if != nil else node_type. end else = new_value end end |