lib/rails/graphql/helpers/with_assignment.rb
def safe_assigned_class
          assigned_class
        rescue ::ArgumentError, ::NameError
          # Ignores the possible errors here related
        end
# Get the assigned class, but if an known exception happens, just ignore
Get the assigned class, but if an known exception happens, just ignore
Get the assigned class but if an known exception happens just ignore
def safe_assigned_class
          assigned_class
        rescue ::ArgumentError, ::NameError
        end
def safe_assigned_class assigned_class rescue :: ArgumentError , :: NameError end
Get the assigned class, but if an known exception happens, just ignore
Get the assigned class but if an known exception happens just ignore
# Ignores the possible errors here related