Skip to content

Can't use different result types inside GitHubKey #13

@artemohanjanyan

Description

@artemohanjanyan

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions