-
-
Notifications
You must be signed in to change notification settings - Fork 307
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
hledger-api doesn't build with swagger2 2.1.5 #612
Comments
Thanks, what GHC version is this ? |
It's GHC 8.2.1. It builds fine with swagger2 2.1.4.1. |
Oh right I get you. Thanks. |
PS we do still need a to fix this for swagger 2.1.5 in the future, help welcome. |
@simonmichael the error message was designed to guide migration process.
Specifically this part:
So you just need this change: - instance ToSchema Price
+ instance ToSchema Price where
+ declareNamedSchema = genericDeclareNamedSchemaUnrestricted defaultSchemaOptions |
Noted, thank you! |
2.1.6 is out |
Reopening this as a reminder to follow through with GetShopTV/swagger2#122 . |
hledger-api got removed from stackage, remember to re-add it when 1.4 is released. |
The text was updated successfully, but these errors were encountered: