spotify-web-api-wrapper icon indicating copy to clipboard operation
spotify-web-api-wrapper copied to clipboard

Limit class exposure to end users

Open jzheng2017 opened this issue 4 years ago • 3 comments

Currently the library exposes a lot of internal details, a lot of classes are public. This may not be desirable as end users of the library shouldn't know of the implementation details.

A great enhancement would be to limit the exposure of implementation classes.

Only the following classes should be exposed:

  • SpotifyApi
  • AuthorizationCodeFlow
  • AuthorizationCodeFlowPKCE
  • AuthorizationPKCERequestToken
  • AuthorizationRefreshToken
  • AuthorizationRequestToken
  • ClientCredentialsFlow
  • All of the domain model objects

jzheng2017 avatar Dec 11 '20 22:12 jzheng2017

Hi, it´s this issue still open?

Whxismou1 avatar Jul 19 '24 17:07 Whxismou1

Yes, it is. When working on this please branch off the 2.0.0 branch since you will be making breaking changes.

jzheng2017 avatar Jul 21 '24 12:07 jzheng2017

Okay, I'll get to work on it. Any additional observations I should take into account?

Whxismou1 avatar Jul 21 '24 12:07 Whxismou1