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

Replace aeson TH with Generics-based instances #25

Merged
merged 1 commit into from
Dec 19, 2015
Merged

Conversation

fizruk
Copy link
Member

@fizruk fizruk commented Dec 16, 2015

Since aeson-0.10.0.0 might be on Stackage soon, this change makes swagger2 compatible with that particular version. The problem was a bug in aeson TH (see haskell/aeson#293) and this change replaces all TH with Generic-based instances which are more verbose, but also safer. Besides many JSON instances have been customized so not many are left using TH anyway.

This change also drops template-haskell dependency.

fizruk added a commit that referenced this pull request Dec 19, 2015
Replace aeson TH with Generics-based instances
@fizruk fizruk merged commit a6ac15f into master Dec 19, 2015
@fizruk fizruk deleted the no-aeson-th branch December 19, 2015 08:47
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.

None yet

1 participant