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

Tests fail to compile when enableSwagger is false #207

Open
j6carey opened this issue Jul 6, 2022 · 0 comments
Open

Tests fail to compile when enableSwagger is false #207

j6carey opened this issue Jul 6, 2022 · 0 comments

Comments

@j6carey
Copy link
Collaborator

j6carey commented Jul 6, 2022

To reproduce:

$ nix-build -A proto3-suite --arg enableSwagger false
...
tests/TestCodeGen.hs:18:1: error:
    Could not find module ‘Data.Swagger’
    Perhaps you meant
      Data.Tagged (needs flag -package-key tagged-0.8.6.1)
    Use -v (or `:set -v` in ghci) to see a list of the files searched for.
   |
18 | import           Data.Swagger                   (ToSchema)
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/TestCodeGen.hs:19:1: error:
    Could not find module ‘Data.Swagger’
    Perhaps you meant
      Data.Tagged (needs flag -package-key tagged-0.8.6.1)
    Use -v (or `:set -v` in ghci) to see a list of the files searched for.
   |
19 | import qualified Data.Swagger
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
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