-
Notifications
You must be signed in to change notification settings - Fork 21
Tentatively support Servant 0.11 #32
Tentatively support Servant 0.11 #32
Conversation
Hello @adinapoli-iohk :) People use Given this context, I'd say that trying to test an
I'd say that by the time you use servant-quickcheck on your API, you probably don't want any |
I hope that Note that IMHO for now it's good enough with |
Also: I do use |
I would hope that as well. I don't want to be the subject of any programmer-induced curses when the code blows up whilst running the specs 😅 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think a weight of 0 is the right approach. Aside from adding the new stack file to travis.yaml
, could you also add an entry to the changelog mentioning supporting newer servants?
@@ -0,0 +1,6 @@ | |||
resolver: lts-9.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add this to .travis.yaml
?
@jkarni All done! (Unless I have screwed up, ofc 😀 ) Note how I haven't bumped the version in the |
Changes Unknown when pulling 199f6cc on adinapoli-iohk:support-servant-0.11 into ** on haskell-servant:master**. |
😱 More seriously, that settles the issue. Skipping by giving a weight of 0 it is! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Released as |
|
if we act fast, we can make |
Wait what? The instance was always there, but you couldn't see it because the CPP condition for it (servant > 0.11) was always false! 😛 |
More seriously: I'll bump to 0.4 then and |
@jkarni ah true, falsy alarm. We couldn't ever define that instance before (as an orphan elsewhere). Still feels fishy to have non-trivial changes in patch number. I over-reacted. About I'd like to talk about various practices, but that's better to do over a beer. |
Thank you guys for the release and wow, that's a pleasure to see somebody actually try to enforce PVP -- too many times I have seen arbitrary bumps in libraries out there 😛 |
Tentatively support Servant 0.11
Tentatively support Servant 0.11
Tentatively support Servant 0.11
Tentatively support Servant 0.11
Tentatively support Servant 0.11
Tentatively support Servant 0.11
Tentatively support Servant 0.11
Hey @jkarni & @alpmestan!
This PR tentatively adds support for Servant 0.11. As I am in "I don't know what I'm doing" mode, it's totally possible that the
HasGenRequest EmptyAPI
instance is totally rubbish 😀 .I have also added a
stack-lts-9.yaml
manifest to allow building with GHC 8.x.Let me know if this has any hope of landing on master and if there is a better way of writing such instance which does not require
error
😞