onebeyond/onebeyond-studio-core

View on GitHub

Showing 90 of 368 total issues

Method ListAsync has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

        this IRORepository<TEntity, TEntityId> roRepository,
        Expression<Func<TResultDto, bool>>? filter = default,
        Paging? paging = default,
        IReadOnlyCollection<Sorting<TResultDto>>? sortings = default,
        CancellationToken cancellationToken = default)

    Method ListAsync has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

            Expression<Func<TEntity, bool>>? filter = null,
            Includes<TEntity>? includes = null,
            Paging? paging = null,
            IReadOnlyCollection<Sorting<TEntity>>? sortings = null,
            CancellationToken cancellationToken = default)
    Severity: Minor
    Found in src/OneBeyond.Studio.DataAccess.EFCore/Repositories/BaseRORepository.cs - About 35 mins to fix

      Method AddValueObjectAuditEvent has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

              IEnumerable<EventEntry> allChanges,
              AuditEvent auditEventEntity,
              ReferenceEntry navigation,
              Type navigationType,
              string navigationName)

        Avoid too many return statements within this method.
        Open

                    return false;

          Avoid too many return statements within this method.
          Open

                          return TryConvertDateOnlyFromString(valueToken, out value);

            Avoid too many return statements within this method.
            Open

                            return TryConvertGuidFromString(valueToken, out value);

              Avoid too many return statements within this method.
              Open

                                      return getSmartEnumFromValueLambda.Compile();

                Avoid too many return statements within this method.
                Open

                            return true;

                  Avoid too many return statements within this method.
                  Open

                              return true;

                    Avoid too many return statements within this method.
                    Open

                            return false;
                      Severity
                      Category
                      Status
                      Source
                      Language