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

Export pageable interface to ease up mocking #260

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ebreiner
Copy link

The pageable interface was not exported but exposed in the client when retrieving the next page of pageable. This made mocking pretty tough.

@ebreiner
Copy link
Author

Closes #171

@strideynet
Copy link
Collaborator

Does this actually make matters any better ? IIRC an interface with a unexported method cannot be implemented by another package. We'd also need to make canPage exported.

The pageable interface was not exported but exposed in the client when
retrieving the next page of pageable. This made mocking pretty tough.
@ebreiner
Copy link
Author

Your absolutly right.

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

2 participants