We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The yesodweb/postgres scaffold doesn't compile with persistent >= 2.13.0.0 (since about mid of 2021).
They removed the function connEscapeTableName which is used in the scaffold, see ChangeLog.
connEscapeTableName
I tried for an hour to get it going again but I failed. The problematic code is here: https://github.com/yesodweb/yesod-scaffold/blob/postgres/test/TestImport.hs#L59
For now, I fall back to loading every *Spec module individually and only those that do without Yesod's TestImport.
*Spec
TestImport
The text was updated successfully, but these errors were encountered:
@parsonsmatt any recommendations on the easiest way to migrate the scaffold?
Sorry, something went wrong.
I think that getEscapedRawName ought to do it
getEscapedRawName
- let escapedTables = map (connEscapeName sqlBackend . DBName) tables + let escapedTables = map (getEscapedRawName sqlBackend) tables
No branches or pull requests
The yesodweb/postgres scaffold doesn't compile with persistent >= 2.13.0.0 (since about mid of 2021).
They removed the function
connEscapeTableName
which is used in the scaffold, see ChangeLog.I tried for an hour to get it going again but I failed. The problematic code is here:
https://github.com/yesodweb/yesod-scaffold/blob/postgres/test/TestImport.hs#L59
For now, I fall back to loading every
*Spec
module individually and only those that do without Yesod'sTestImport
.The text was updated successfully, but these errors were encountered: