lib/rails/graphql/request/component/typename.rb
# Set the value that the field will be resolved as
Set the value that the field will be resolved as
Set the value that the field will be resolved as
def resolve_with!(object)
          @typename = object.gql_name
          resolve!
        ensure
          @typename = nil
        end
def resolve_with! ( object ) @typename = object . gql_name resolve! ensure @typename = nil end
Set the value that the field will be resolved as
Set the value that the field will be resolved as
object