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

Fix | Endpoint Pagination Issue #7

Merged
merged 2 commits into from
Oct 21, 2023
Merged

Fix | Endpoint Pagination Issue #7

merged 2 commits into from
Oct 21, 2023

Conversation

craigpotter
Copy link
Owner

The recent v1 release implemented Saloon Pagination v2 and set the getPageItems method to get the items from the request createDtoFromResponse method however the endpoint request does not have a DTO however does implement pagination.

This PR fixes it to either return the DTOs, the items from the data property on the request or an empty array.

Copy link
Owner Author

@craigpotter craigpotter left a comment

Choose a reason for hiding this comment

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

Self Review

@craigpotter craigpotter merged commit 20f76bb into main Oct 21, 2023
@craigpotter craigpotter deleted the fix/endpoint-resource branch October 21, 2023 19:10
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.

None yet

1 participant