bitemyapp / bitemyapp/esqueleto

Importing Database.Esqueleto confusing in 4.0.0.0

Open
#368 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
399
Forks
107
Avg merge
1d 17h
Merged PRs (30d)
1

Description

4.0.0.0 (`esqueleto-next`/ https://github.com/bitemyapp/esqueleto/pull/325) updates Database.Esqueleto to the new syntax. I was migrating some code and struggled with confusing error messages ("Could not deduce (Database.Esqueleto.Internal.Internal.SqlSelect a0 (Entity record)) arising from a use of ‘select’") for some time before realizing I just needed to change `Database.Esqueleto` to `Database.Esqueleto.Legacy`.

I know the deprecation warning has been on Experimental forever, and possibly on Database.Esqueleto, but even so this caused me a good hour of frustration.

Is there some way to highlight the change? A migration guide or deprecation warning?

Thanks for all your excellent work!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.