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

Refactor internal environments handling #705

Merged
merged 11 commits into from
Dec 3, 2020
Merged

Refactor internal environments handling #705

merged 11 commits into from
Dec 3, 2020

Conversation

f-f
Copy link
Member

@f-f f-f commented Dec 3, 2020

This PR changes the way we handle "app environments" internally, switching from using custom typeclasses to generic-lens to access resources at runtime.

A similar refactoring happened in #610, but that left a few wonky corners, which we take care of here:

This PR also includes a breaking change: we remove the spago login command, as it's unused now and will be unnecessary in the future. This should have a very low impact, as no one has any reason to use this command right now

@f-f f-f merged commit 43dda09 into master Dec 3, 2020
@f-f f-f deleted the refactor-environments branch December 3, 2020 20:11
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.

Spago tries to create a global cache when -c skip is used Spago bundle-app requires config in 0.15 version
1 participant