Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xml docs and input parameter's nullability fix #249

Merged
merged 1 commit into from
Feb 6, 2025
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
6 changes: 3 additions & 3 deletions src/Gridify/GridifyExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ public static IQueryable<T> ApplyOrderingAndPaging<T>(this IQueryable<T> query,
/// <param name="gridifyQuery">the configuration to apply paging, filtering and ordering</param>
/// <param name="mapper">this is an optional parameter to apply filtering and ordering using a custom mapping configuration</param>
/// <typeparam name="T">type of target entity</typeparam>
/// <returns>returns a <c>QueryablePaging<T><c/> after applying filtering, ordering and paging</returns>
/// <returns>returns a <c>QueryablePaging{T}</c> after applying filtering, ordering and paging</returns>
public static QueryablePaging<T> GridifyQueryable<T>(this IQueryable<T> query, IGridifyQuery? gridifyQuery, IGridifyMapper<T>? mapper = null)
{
query = query.ApplyFiltering(gridifyQuery, mapper);
Expand All @@ -512,7 +512,7 @@ public static QueryablePaging<T> GridifyQueryable<T>(this IQueryable<T> query, I
/// <param name="gridifyQuery">the configuration to apply paging, filtering and ordering</param>
/// <param name="mapper">this is an optional parameter to apply filtering and ordering using a custom mapping configuration</param>
/// <typeparam name="T">type of target entity</typeparam>
/// <returns>returns a loaded <c>Paging<T><c /> after applying filtering, ordering and paging </returns>
/// <returns>returns a loaded <c>Paging{T}</c> after applying filtering, ordering and paging </returns>
/// <returns></returns>
public static Paging<T> Gridify<T>(this IQueryable<T> query, IGridifyQuery? gridifyQuery, IGridifyMapper<T>? mapper = null)
{
Expand All @@ -530,7 +530,7 @@ public static Paging<T> Gridify<T>(this IQueryable<T> query, IGridifyQuery? grid
/// <param name="queryOption">the configuration to apply paging, filtering and ordering</param>
/// <param name="mapper">this is an optional parameter to apply filtering and ordering using a custom mapping configuration</param>
/// <typeparam name="T">type of target entity</typeparam>
/// <returns>returns a loaded <c>Paging<T><c /> after applying filtering, ordering and paging </returns>
/// <returns>returns a loaded <c>Paging{T}</c> after applying filtering, ordering and paging </returns>
/// <returns></returns>
public static Paging<T> Gridify<T>(this IQueryable<T> query, Action<IGridifyQuery> queryOption, IGridifyMapper<T>? mapper = null)
{
Expand Down
4 changes: 2 additions & 2 deletions src/Gridify/GridifyQuery.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ public class GridifyQuery : IGridifyQuery
public GridifyQuery()
{
}
public GridifyQuery(int page, int pageSize, string filter, string? orderBy = null)
public GridifyQuery(int page, int pageSize, string? filter, string? orderBy = null)
{
Page = page;
PageSize = pageSize;
Expand All @@ -17,4 +17,4 @@ public GridifyQuery(int page, int pageSize, string filter, string? orderBy = nul
public int PageSize { get; set; }
public string? OrderBy { get; set; }
public string? Filter { get; set; }
}
}
Loading