Skip to content

Conversation

@nbacquey
Copy link

@nbacquey nbacquey commented Dec 8, 2022

Since version 0.19.1, servant-server requires the type a in combinator Capture foo a to be Typeable. This commit adds the constraint in HasMock for Capture' and CaptureAll

@arjunkathuria
Copy link

arjunkathuria commented Dec 29, 2022

hi @nbacquey,

Did you try running the test suite for this?

I patched the library for the same during upgrading a project and it builds, but when you run the tests for this, they fail.

Since version 0.19.1, `servant-server` requires the type `a` in
combinator `Capture foo a` to be `Typeable`. This commit adds the
constraint in `HasMock` for `Capture'` and `CaptureAll`
@nbacquey nbacquey force-pushed the support_servant_0.19 branch from 33de01d to 6b2398f Compare January 9, 2023 11:02
@nbacquey
Copy link
Author

nbacquey commented Jan 9, 2023

This later version should work, the test suite passes.
The Fragment a keyword was also recently introduced in Servant, and hadn't a HasMock instance yet, which I've added.

@domenkozar
Copy link

We're using this, any chance to merge?

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