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

Reduce scope of the package registry as library #938

Open
jsoriano opened this issue Dec 13, 2022 · 0 comments
Open

Reduce scope of the package registry as library #938

jsoriano opened this issue Dec 13, 2022 · 0 comments
Labels
Team:Ecosystem Label for the Packages Ecosystem team

Comments

@jsoriano
Copy link
Member

jsoriano commented Dec 13, 2022

Sub-packages in the package registry are exposed also as modules. When making refactors in the registry this forces us to maintain backwards compatibility, or risk breaking dependent projects, while the package registry is not generally intended to be used as library.

Move internal functionality to internal modules, and clarify what functionality can be used externally. For example it may make sense to keep public the structs that are mapped to JSON API objects. But almost any other functionality should be probably internal.

This change will be breaking for projects using the registry as library, and require to bump to a v2 version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Ecosystem Label for the Packages Ecosystem team
Projects
None yet
Development

No branches or pull requests

1 participant