Skip to content

Conversation

@kTrzcinskii
Copy link
Member

This PR resolves #14 + changes PaginationService to be more performant.

Copy link
Member

@kubapoke kubapoke left a comment

Choose a reason for hiding this comment

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

LGTM

[HttpGet("get-events")]
public async Task<ActionResult<PaginatedData<GetEventResponseDto>>> GetEvents([FromQuery] int pageSize, [FromQuery] int page)
{
var paginatedDataResult = await _eventService.GetEventsAsync(page, pageSize);
Copy link
Member

Choose a reason for hiding this comment

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

I think that this method, even without any filters, should contain some checks, for example whether an event is in the future. I don't think that it's a problem for this PR, but we should keep this in mind.

@kubapoke kubapoke merged commit d7c1083 into develop Apr 7, 2025
1 check passed
@kTrzcinskii kTrzcinskii deleted the feat/get-events-customer branch April 7, 2025 07:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants