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

fails to build with swagger2-2.16 #2

Open
juhp opened this issue Sep 25, 2017 · 1 comment
Open

fails to build with swagger2-2.16 #2

juhp opened this issue Sep 25, 2017 · 1 comment

Comments

@juhp
Copy link

juhp commented Sep 25, 2017

Building library for avers-api-docs-0.0.18.0..
[1 of 1] Compiling Avers.API.Documentation ( src/Avers/API/Documentation.hs, dist/build/Avers/API/Documentation.o )

src/Avers/API/Documentation.hs:55:7: error:
    Ambiguous occurrence ‘fieldLabelModifier’
    It could refer to either ‘Data.Swagger.fieldLabelModifier’,
                             imported from ‘Data.Swagger’ at src/Avers/API/Documentation.hs:22:1-60
                             (and originally defined in ‘Data.Swagger.SchemaOptions’)
                          or ‘Data.Aeson.fieldLabelModifier’,
                             imported from ‘Data.Aeson’ at src/Avers/API/Documentation.hs:23:1-27
                             (and originally defined in ‘aeson-1.2.2.0:Data.Aeson.Types.Internal’)
   |
55 |     { fieldLabelModifier     = dropPrefix p
   |       ^^^^^^^^^^^^^^^^^^

src/Avers/API/Documentation.hs:56:7: error:
    Ambiguous occurrence ‘constructorTagModifier’
    It could refer to either ‘Data.Swagger.constructorTagModifier’,
                             imported from ‘Data.Swagger’ at src/Avers/API/Documentation.hs:22:1-60
                             (and originally defined in ‘Data.Swagger.SchemaOptions’)
                          or ‘Data.Aeson.constructorTagModifier’,
                             imported from ‘Data.Aeson’ at src/Avers/API/Documentation.hs:23:1-27
                             (and originally defined in ‘aeson-1.2.2.0:Data.Aeson.Types.Internal’)
   |
56 |     , constructorTagModifier = map toLower
   |       ^^^^^^^^^^^^^^^^^^^^^^
juhp added a commit to commercialhaskell/stackage that referenced this issue Sep 25, 2017
@juhp
Copy link
Author

juhp commented Sep 25, 2017

See also commercialhaskell/stackage#2895

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

No branches or pull requests

1 participant