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 not to bind effect type #284

Merged

Conversation

jisantuc
Copy link
Contributor

@jisantuc jisantuc commented Jun 19, 2020

Overview

This PR makes it so that gt-server doesn't commit downstream consumers to IO everywhere, instead leaving everything in F[_] until F gains some constraints by usage.

Checklist

  • Description of PR is in an appropriate section of the CHANGELOG and grouped with similar changes if possible

Testing Instructions

  • tests should still pass despite the removal of IO everywhere

Closes azavea/azavea-10-percent-time#320
Closes #257
Closes https://github.com/azavea/geotrellis/issues/268

@jisantuc jisantuc changed the title [wip] Refactor not to bind effect type Refactor not to bind effect type Jun 22, 2020
@pomadchin pomadchin force-pushed the feature/refactor-tagless-final-etc branch 4 times, most recently from 4cedfd0 to 5f14a73 Compare June 23, 2020 17:14
Copy link
Contributor

@CloudNiner CloudNiner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So much to look at here. I only took a cursory glance.

Changes do look good overall though, thrilled to see the removal of Scala 2.11, removal of subproject, and use of consistent scalafmt settings.

Merge whenever you feel confident, we'll have to address smaller fall out as separate future issues anyway.

core/src/main/scala/geotrellis/server/LayerTms.scala Outdated Show resolved Hide resolved
@pomadchin
Copy link
Member

Blocked by locationtech/geotrellis#3265

@pomadchin pomadchin force-pushed the feature/refactor-tagless-final-etc branch from 865c877 to 03658ff Compare June 23, 2020 21:55
@pomadchin pomadchin self-assigned this Jun 23, 2020
@pomadchin pomadchin merged commit deaa550 into geotrellis:develop Jun 24, 2020
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.

Add Contravariant instances
3 participants