lib/rails/graphql/request.rb
def stack_to_path
        stack[0..-2].map do |item|
          item.is_a?(Numeric) ? item : item.try(:gql_name)
        end.compact.reverse
      end
# Convert the current stack into a error path ignoring the schema
Convert the current stack into a error path ignoring the schema
Convert the current stack into a error path ignoring the schema
def stack_to_path
        stack[0..-2].map do |item|
          item.is_a?(Numeric) ? item : item.try(:gql_name)
        end.compact.reverse
      end
def stack_to_path stack [ 0 .. - 2 ] . map do | item | item . is_a? ( Numeric ) ? item : item . try ( :gql_name ) end . compact . reverse end
Convert the current stack into a error path ignoring the schema
Convert the current stack into a error path ignoring the schema