Skip to content

Support Identifier in sql interpolation#1340

Merged
mpilquist merged 2 commits into
typelevel:mainfrom
nigredo-tori:1337-identifier-interpolation
Jul 17, 2026
Merged

Support Identifier in sql interpolation#1340
mpilquist merged 2 commits into
typelevel:mainfrom
nigredo-tori:1337-identifier-interpolation

Conversation

@nigredo-tori

Copy link
Copy Markdown
Contributor

Closes #1337

import skunk.Fragment
import skunk.Void

class StringContextOpsTest extends ffstest.FTest {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't found a separate test file for the syntax, so I've added a new one.

}

sessionTest("~") { s =>
sessionTest("*:") { s =>

@nigredo-tori nigredo-tori Jul 16, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This used to check the twiddles' *: syntax instead of skunk's ~. I've changed the name and added another test for ~. This is unrelated to the main focus of this PR, but, IMO, this doesn't warrant a separate one.

@nigredo-tori
nigredo-tori force-pushed the 1337-identifier-interpolation branch from 4a90930 to 3d4be29 Compare July 16, 2026 04:36
@mpilquist
mpilquist merged commit 8a11116 into typelevel:main Jul 17, 2026
10 checks passed
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 this pull request may close these issues.

Support Identifier in sql interpolation

2 participants