Closed GaProgMan closed 3 years ago
Please check if your PR fulfils the following requirements:
Please check the type of change your PR introduces:
Current behaviour prior to the PR is that the system does not support paged requests for Book objects.
Book
Issue Number: #2
This PR closes #2 with the following changes:
GetPaged
PagedRequest
GetPageOfBooks
IGetBook
GetAll
IDataStore
PagedResponse
OkObjectResult
N/A
Pull request checklist
Please check if your PR fulfils the following requirements:
Pull request type
Please check the type of change your PR introduces:
What is the current behaviour?
Current behaviour prior to the PR is that the system does not support paged requests for
Book
objects.Issue Number: #2
What is the new behaviour?
This PR closes #2 with the following changes:
GetPaged
endpoint now exists and takes an instance ofPagedRequest
in the query stringGetPaged
endpoint callsGetPageOfBooks
on theIGetBook
interfaceGetPageOfBooks
callsGetAll
onIDataStore
interfacePagedResponse
is returned fromGetPaged
if records could be found inside of anOkObjectResult
GetPaged
returns 404GetPaged
is wrong, it returns 400Does this introduce a breaking change?
Other information
N/A