lib/rails/graphql/helpers/registerable.rb
# Return the name of the object as a GraphQL name
Return the name of the object as a GraphQL name
Return the name of the object as a GraphQL name
def gql_name
          @gql_name ||= begin
            name.match(NAME_EXP).try(:[], 1)&.tr(':', '')
          end unless anonymous?
        end
def gql_name @gql_name ||= begin name . match ( NAME_EXP ) . try ( :[] , 1 ) &. tr ( ':' , '' ) end unless anonymous? end
Return the name of the object as a GraphQL name
Return the name of the object as a GraphQL name