Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using System.Collections.Generic;
using System.Threading.Tasks;
using BBT.Aether.Application.Dtos;
using BBT.Aether.Domain;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

critical

The using BBT.Aether.Domain; statement is incorrect for resolving the PagedList<T> type, which is used on line 77. PagedList<T> has been moved to a new namespace as part of this refactoring. Please update this to the correct namespace. Based on other changes, this should be BBT.Aether, or preferably BBT.Aether.Pagination if you adopt the suggestion to align namespaces with folder structure.

using BBT.Aether;

using BBT.Aether.Domain.Repositories;

namespace BBT.Aether.Application;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
using System.Collections.Generic;
using BBT.Aether.Application.Dtos;
using BBT.Aether.Domain.Repositories;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

critical

This file is missing a using statement for the namespace containing the refactored pagination types. Types like PaginationLinks, HateoasPagedList<T>, and PagedList<T> are used in this interface but their namespace is not imported, which will cause a compilation error. You should add a using for BBT.Aether (or BBT.Aether.Pagination if you align namespaces with folder structure).

using BBT.Aether;

namespace BBT.Aether.Domain.Pagination;
namespace BBT.Aether.AspNetCore.Pagination;

/// <summary>
/// Generates HATEOAS pagination links for API responses.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@
using System.Collections.Generic;
using System.Text;
using BBT.Aether.Application.Dtos;
using BBT.Aether.Domain.Repositories;
using Microsoft.AspNetCore.Http;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

critical

This file is missing a using statement for the namespace containing the refactored pagination types. Types like PaginationLinks, HateoasPagedList<T>, and PagedList<T> are used in this class but their namespace is not imported, which will cause a compilation error. You should add a using for BBT.Aether (or BBT.Aether.Pagination if you align namespaces with folder structure).

using BBT.Aether;

namespace BBT.Aether.Domain.Pagination;
namespace BBT.Aether.AspNetCore.Pagination;

/// <summary>
/// Generates HATEOAS pagination links using the current HTTP request context.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using System;
using System.IO.Compression;
using System.Linq;
using BBT.Aether.Domain.Pagination;
using BBT.Aether.AspNetCore.ExceptionHandling;
using BBT.Aether.AspNetCore.Pagination;
using BBT.Aether.AspNetCore.Security;
using BBT.Aether.AspNetCore.Tracing;
using BBT.Aether.Users;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Collections.Generic;

namespace BBT.Aether.Domain.Repositories;
namespace BBT.Aether;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The namespace BBT.Aether does not align with the file's directory structure, which is BBT.Aether.Core/BBT/Aether/Pagination/. It's a common convention in C# to have namespaces match the folder hierarchy. Consider changing the namespace to BBT.Aether.Pagination for better code organization and discoverability. This would also align with the PR description mentioning a "pagination namespace".

namespace BBT.Aether.Pagination;


/// <summary>
/// Represents a paged list optimized for HATEOAS responses.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System;
using System.Collections.Generic;

namespace BBT.Aether.Domain.Repositories;
namespace BBT.Aether;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The namespace BBT.Aether does not align with the file's directory structure, which is BBT.Aether.Core/BBT/Aether/Pagination/. It's a common convention in C# to have namespaces match the folder hierarchy. Consider changing the namespace to BBT.Aether.Pagination for better code organization and discoverability. This would also align with the PR description mentioning a "pagination namespace".

namespace BBT.Aether.Pagination;


/// <summary>
/// Represents a paged list of items.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace BBT.Aether.Application.Dtos;
namespace BBT.Aether;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The namespace BBT.Aether does not align with the file's directory structure, which is BBT.Aether.Core/BBT/Aether/Pagination/. It's a common convention in C# to have namespaces match the folder hierarchy. Consider changing the namespace to BBT.Aether.Pagination for better code organization and discoverability. This would also align with the PR description mentioning a "pagination namespace".

namespace BBT.Aether.Pagination;


/// <summary>
/// HATEOAS pagination links for API responses.
Expand Down
Loading