Skip to content

Conversation

@rossabaker
Copy link
Member

Fixes #5143.

import CORSPolicy._

def apply[F[_]: Functor, G[_]](http: Http[F, G]): Http[F, G] = {
def apply[F[_]: Applicative, G[_]](http: Http[F, G]): Http[F, G] = {
Copy link
Member Author

Choose a reason for hiding this comment

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

Tests pass, but this breaks binary compatibility. I don't think we can implement it correctly on Functor.

Copy link
Member Author

Choose a reason for hiding this comment

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

I hacked around this. Somewhat extreme lengths for a day-old signature, but I like to not make exceptions.

@rossabaker
Copy link
Member Author

Failure is unrelated.

/cc @jbwheatley @bplommer

@rossabaker rossabaker merged commit 9cfe091 into series/0.21 Sep 2, 2021
@rossabaker rossabaker deleted the cors-preflight-status branch September 2, 2021 18:54
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.

3 participants