lib/rails/graphql/event.rb
def catchable(layer)
          @layers.unshift(layer)
          catch(layer) { yield }
        ensure
          @layers.pop
        end
# Add the layer, exec the block and remove the layer
Add the layer, exec the block and remove the layer
Add the layer exec the block and remove the layer
def catchable(layer)
          @layers.unshift(layer)
          catch(layer) { yield }
        ensure
          @layers.pop
        end
def catchable ( layer ) @layers . unshift ( layer ) catch ( layer ) { yield } ensure @layers . pop end
Add the layer, exec the block and remove the layer
Add the layer exec the block and remove the layer
layer