lib/rails/graphql/railties/controller.rb
# The schema on which the requests will be performed from
The schema on which the requests will be performed from
The schema on which the requests will be performed from
def gql_schema
          schema = self.class.gql_schema
          schema = schema.safe_constantize if schema.is_a?(String)
          schema ||= application_default_schema
          return schema if schema.is_a?(Module) && schema < ::Rails::GraphQL::Schema
          raise ExecutionError, <<~MSG.squish
            Unable to find a valid schema for #{self.class.name},
            defined value: #{schema.inspect}.
          MSG
        end
def gql_schema schema = self . class . gql_schema schema = schema . safe_constantize if schema . is_a? ( String ) schema ||= application_default_schema return schema if schema . is_a? ( Module ) && schema < :: Rails :: GraphQL :: Schema raise ExecutionError , <<~MSG . squish 
            Unable to find a valid schema for  #{ self . class . name } ,
            defined value:  #{ schema . inspect } .
           MSG end
The schema on which the requests will be performed from
The schema on which the requests will be performed from