scrive / log

Structured logging solution.
https://hackage.haskell.org/package/log-base
BSD 3-Clause "New" or "Revised" License
35 stars 7 forks source link

Add support for aeson 2.0.1.0 #79

Closed JakubBarta closed 2 years ago

arybczak commented 2 years ago

I think it should be possible to create a compat module and contain all the CPP inside of it.

It would re-export either Data.Aeson.KeyMap or Data.HashMap.Strict, define type synonym for KeyMap for the old version and define keyFromText, looks like this should be enough.

Then the same module can be used internally for https://github.com/scrive/unjson/pull/19.

@JakubBarta sounds reasonable?

JakubBarta commented 2 years ago

sounds good, on it

JakubBarta commented 2 years ago

@arybczak @jsynacek done