spotify icon indicating copy to clipboard operation
spotify copied to clipboard

Export pageable interface to ease up mocking

Open ebreiner opened this issue 1 year ago • 3 comments

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

ebreiner avatar May 20 '24 10:05 ebreiner

Closes #171

ebreiner avatar May 20 '24 10:05 ebreiner

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.

strideynet avatar May 20 '24 14:05 strideynet

Your absolutly right.

ebreiner avatar May 20 '24 15:05 ebreiner