global
def self.unauthorized_object(error)
def self.unauthorized_object(error) raise Unauthorized, I18n.t("graphql.unauthorized", error_type: error.type.graphql_name) end
def self.unauthorized_object(error) raise Unauthorized, I18n.t("graphql.unauthorized", error_type: error.type.graphql_name) end