Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swagger instances for UVerb #127

Merged
merged 10 commits into from
Nov 17, 2020
Merged

Swagger instances for UVerb #127

merged 10 commits into from
Nov 17, 2020

Conversation

smatting
Copy link
Contributor

@smatting smatting commented Nov 5, 2020

This PR adds support for Union Verbs, which were introduced recently to servant: haskell-servant/servant#1314

@smatting
Copy link
Contributor Author

I think this now ready for review

Copy link
Member

@fisx fisx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect! Can you bump the cabal version to 1.1.11 and update the @since markers? Then I'll merge this.

src/Servant/Swagger/Internal/Orphans.hs Show resolved Hide resolved
Comment on lines 24 to 25
-- @since <TODO>
#if __GLASGOW_HASKELL__ >= 881
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
-- @since <TODO>
#if __GLASGOW_HASKELL__ >= 881
#if __GLASGOW_HASKELL__ >= 881
-- @since <TODO>

Not sure if this breaks anything, but it seems more honest to me. (Please ignore if you're no more confident than me.)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hh, yes, missed that. Done

@fisx fisx merged commit 1909e44 into haskell-servant:master Nov 17, 2020
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.

2 participants