ruomad · GitHub

@ruomad

Copy link Copy Markdown

Contributor

Tentative patch to

support aeson-2 (introducing Key/KeyMap as an abstraction in replacement to HashMap Text Value)
support template-haskell-2.18.0 (changes the type of some functions, esp. ConP)
which makes it possible to compile with ghc-9.2.1

(cleaner version, sorry for the noise)

Another solution would be to use the template-haskell-compat-v0208

@ruomad

Copy link Copy Markdown

Contributor Author

Hum, I don.t know why this fails… the log is not very helpful

@parsonsmatt

Copy link Copy Markdown

Collaborator

@ruomad

Copy link Copy Markdown

Contributor Author

Well, OK.
I indeed only use (and build) persistent-postgresql, so I'll have to take a look to other persistent modules as well.
I was supposing the specific modules were not affected by internal changes in aeson/persistent core.

@brandon-leapyear

Copy link Copy Markdown

Contributor

This is an old work account. Please reference @brandonchinn178 for all future communication


I believe Database.Persist.TH is still failing. I think it's this line:

(Just (packE `AppE` LitE (StringL $ unpack $ unFieldNameHS $ unboundFieldNameHS f)))

This is still using Text.pack for a Key.

Closed

@brandon-leapyear

Copy link Copy Markdown

Contributor

This is an old work account. Please reference @brandonchinn178 for all future communication


Forked here: #1338. Feel free to merge/cherry-pick back

Merged

Merged

This pull request was closed.

Read the original on github.com ↗