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 aeson 2 #6

Closed
larskuhtz opened this issue Nov 21, 2021 · 2 comments · Fixed by #21
Closed

Fails to build with aeson 2 #6

larskuhtz opened this issue Nov 21, 2021 · 2 comments · Fixed by #21

Comments

@larskuhtz
Copy link

src/Autodocodec/Aeson/Encode.hs:52:33: error:
    • Couldn't match expected type ‘JSON.Key’ with actual type ‘Text’
    • In the first argument of ‘(JSON..=)’, namely ‘k’
      In the expression: k JSON..= go a c
      In a case alternative: RequiredKeyCodec k c _ -> k JSON..= go a c
   |
52 |       RequiredKeyCodec k c _ -> k JSON..= go a c
   |                                 ^
@NorfairKing
Copy link
Owner

Jup this doesn't surprise me. I don't use aeson 2 yet so I'll fix this when I get to it.

@jberryman
Copy link

#12

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 a pull request may close this issue.

3 participants