servant-mock icon indicating copy to clipboard operation
servant-mock copied to clipboard

Support servant-server-0.19.1

Open nbacquey opened this issue 2 years ago • 3 comments

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 avatar Dec 08 '22 15:12 nbacquey

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.

arjunkathuria avatar Dec 29 '22 12:12 arjunkathuria

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.

nbacquey avatar Jan 09 '23 11:01 nbacquey

We're using this, any chance to merge?

domenkozar avatar Jan 12 '24 12:01 domenkozar