Skip to content

Reasoning behind "internal"-izing endpoint structures #1026

Answered by jasdel
yawn asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for reaching out @yawn. The V2 SDK intentional made endpoint metadata an internal component of the SDK. The endpoint metadata was made internal component of the API client modules for a few reasons.

Modularization: When the SDK's API clients were split off into their own modules, we wanted to limit the metadata that they shared. The primary reason for this was to ensure that users of the SDK didn't run into an issue if they update the module containing endpoints without updating the API client module as well. This lead us to split the endpoint metadata into each API client's module. Splitting these into separate modules also helped a little bit with application start since the appl…

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@jasdel
Comment options

Comment options

You must be logged in to vote
2 replies
@yawn
Comment options

@yawn
Comment options

Answer selected by vudh1
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants