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

sourcebundle: Improve client extensibility #55

Merged
merged 1 commit into from
Feb 2, 2024

Conversation

alisdair
Copy link
Contributor

@alisdair alisdair commented Feb 2, 2024

The package fetcher and registry client interfaces previously returned only the data we currently support. This makes it difficult to add more data and metadata in future updates to this library, as each addition will be a breaking change.

This commit adds trivial wrapping types around these response values, allowing us to easily add more fields to those types when we have more data to return, without forcing a new major version.

The package fetcher and registry client interfaces previously returned
only the data we currently support. This makes it difficult to add more
data and metadata in future updates to this library, as each addition
will be a breaking change.

This commit adds trivial wrapping types around these response values,
allowing us to easily add more fields to those types when we have more
data to return, without forcing a new major version.
@alisdair alisdair self-assigned this Feb 2, 2024
@alisdair alisdair merged commit 0ba92f7 into main Feb 2, 2024
9 checks passed
@alisdair alisdair deleted the alisdair/sourcebundle-client-extensibility branch February 2, 2024 16:33
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.

2 participants