Skip to content

Conversation

ComradeVanti
Copy link
Collaborator

Currently the UPMConfig type represents the file content of a upmconfig.toml file. Since the datatype has the same structure as the file, the whole application has to be somewhat designed around it, which can be cumbersome.

This change splits this type into two, one (UpmConfigContent) still represents the file, but UpmConfig now only holds the auth information in a easier to access format. This makes it`s usage simpler in the service layer of the app. To compensate a translation or import/export logic was added to the io layer for converting between the two representations.

@ComradeVanti ComradeVanti marked this pull request as ready for review August 4, 2024 10:26
@ComradeVanti ComradeVanti merged commit f4ce288 into master Aug 4, 2024
4 checks passed
@ComradeVanti ComradeVanti deleted the upm-config-domain-external branch August 4, 2024 10:28
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.

1 participant