I can't compile following example with servant-github-webhook >= 0.4:
https://github.com/onrock-eng/github-webhooks/tree/master/examples/servant
GitHubKey is specified without the result type there. I can't figure out a good way to do something similar (use one GitHubKey for request bodies of different types) with the latest version of servant-github-webhook. I can use Data.Aeson.Object instead of different types, but it's not a pleasant thing to do.
I can't compile following example with
servant-github-webhook>= 0.4:https://github.com/onrock-eng/github-webhooks/tree/master/examples/servant
GitHubKeyis specified without the result type there. I can't figure out a good way to do something similar (use oneGitHubKeyfor request bodies of different types) with the latest version ofservant-github-webhook. I can useData.Aeson.Objectinstead of different types, but it's not a pleasant thing to do.