Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Feedback on PagedAndSortedResultRequestDto and PagedAndSortedInputDto #9152


User avatar
0
arctechnicalteamaus created

This is just a suggestion / feedback.

PagedAndSortedResultRequestDto is the DTO used Power Tool generated code. PagedAndSortedInputDto is the code used in other places by Zero.

They are really the same thing at the server side. However, nswag generated Angular code has different sequence on sorting/paging fields. It causes confusion, and causes strange error if not following the field sequence exactly.

It is better to just use one of them.


2 Answer(s)
  • User Avatar
    0
    musa.demir created

    Thanks @arctechnicalteamaus We will consider it.

  • User Avatar
    0
    musa.demir created

    Created an issue about it https://github.com/aspnetzero/aspnet-zero-core/issues/3355